Skip to content

Commit efffb0a

Browse files
authored
Merge pull request #3526 from OpenShot/fix-hide-tutorial
Fix hide tutorial QAction syntax for older Qt versions
2 parents 62817dc + 11d8734 commit efffb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/views/tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def __init__(self, id, text, arrow, manager, *args):
132132
hbox.setContentsMargins(20, 10, 0, 0)
133133

134134
# Close action
135-
self.close_action = QAction(_("Hide Tutorial"))
135+
self.close_action = QAction(_("Hide Tutorial"), self)
136136
self.close_action.setShortcut(QKeySequence(Qt.Key_Escape))
137137
self.close_action.setShortcutContext(Qt.ApplicationShortcut)
138138

0 commit comments

Comments
 (0)