mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-05 21:37:56 +03:00
Update Furious/Qt/QtGui.py
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
+4
-1
@@ -168,7 +168,10 @@ class AppQAction(Mixins.QTranslatable, Mixins.ThemeAware, QAction):
|
||||
if statusTip is not None:
|
||||
self.setStatusTip(statusTip)
|
||||
|
||||
# Handy callback to be able to link with lambda
|
||||
# This is intentionally a strong reference for the QAction's lifetime.
|
||||
# Current actions are scoped to an owning widget/menu. An application-
|
||||
# lifetime action must never store a transient receiver's bound method
|
||||
# here, or it will retain that receiver and its complete Qt object tree.
|
||||
self.callback = callback
|
||||
|
||||
if shortcut is not None:
|
||||
|
||||
Reference in New Issue
Block a user