Skip to content

Commit 79d090a

Browse files
committed
Merge from 3.x: PR #3927
Fixes #3925
2 parents 1c8c174 + 600bb5f commit 79d090a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: spyder/widgets/sourcecode/codeeditor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def is_letter_or_number(char):
8484
# =============================================================================
8585
class GoToLineDialog(QDialog):
8686
def __init__(self, editor):
87-
QDialog.__init__(self, editor)
87+
QDialog.__init__(self, editor, Qt.WindowTitleHint
88+
| Qt.WindowCloseButtonHint)
8889

8990
# Destroying the C++ object right after closing the dialog box,
9091
# otherwise it may be garbage-collected in another QThread

0 commit comments

Comments
 (0)