From 018f2a03dcb230a3e57462e13a6ffd1c518bc95f Mon Sep 17 00:00:00 2001 From: hsoft Date: Fri, 19 Jun 2009 11:32:58 +0000 Subject: [PATCH] [#35 state:fixed] base qt: Added contextual menu to the main window (the Actions menu). --HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4090 --- base/qt/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/qt/main_window.py b/base/qt/main_window.py index 91908b0f..ba8612e7 100644 --- a/base/qt/main_window.py +++ b/base/qt/main_window.py @@ -287,6 +287,9 @@ class MainWindow(QMainWindow, Ui_MainWindow): h.setSectionHidden(colid, not h.isSectionHidden(colid)) self._update_column_actions_status() + def contextMenuEvent(self, event): + self.actionActions.menu().exec_(event.globalPos()) + def dupeMarkingChanged(self): self._redraw_results() self._update_status_line()