summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug-7415_fix-arguments-on-raise-window-event1
-rw-r--r--src/leap/bitmask/gui/mainwindow.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/changes/bug-7415_fix-arguments-on-raise-window-event b/changes/bug-7415_fix-arguments-on-raise-window-event
new file mode 100644
index 00000000..a49922c1
--- /dev/null
+++ b/changes/bug-7415_fix-arguments-on-raise-window-event
@@ -0,0 +1 @@
+o Fix wrong argument number on window raise event. Close bug #7415.
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py
index b0f14aef..c5939a6d 100644
--- a/src/leap/bitmask/gui/mainwindow.py
+++ b/src/leap/bitmask/gui/mainwindow.py
@@ -1640,14 +1640,12 @@ class MainWindow(QtGui.QMainWindow, SignalTracker):
# window handling methods
#
- def _on_raise_window_event(self, event, content):
+ def _on_raise_window_event(self, event):
"""
Callback for the raise window event
:param event: The event that triggered the callback.
:type event: str
- :param content: The content of the event.
- :type content: list
"""
if IS_WIN:
locks.raise_window_ack()