Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53ef1f7

Browse files
authored
Merge pull request #22210 from meeseeksmachine/auto-backport-of-pr-22202-on-v3.5.x
Backport PR #22202 on branch v3.5.x (PR: Fix merge of 18966)
2 parents 50ea2e5 + aaed45d commit 53ef1f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/backends/qt_editor/_formlayout.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
from numbers import Integral, Real
4848

4949
from matplotlib import _api, colors as mcolors
50-
from .. import qt_compat
5150
from ..qt_compat import QtGui, QtWidgets, QtCore, _enum, _to_int
5251

5352
_log = logging.getLogger(__name__)
@@ -537,8 +536,7 @@ def fedit(data, title="", comment="", icon=None, parent=None, apply=None):
537536
parent._fedit_dialog.close()
538537
parent._fedit_dialog = dialog
539538

540-
if qt_compat._exec(dialog):
541-
return dialog.get()
539+
dialog.show()
542540

543541

544542
if __name__ == "__main__":

0 commit comments

Comments
 (0)