Skip to content

Commit

Permalink
BUG: ListStrEditor (on qt) shows double context menus.
Browse files Browse the repository at this point in the history
Both `_ListStrEditor` and `_ListView` were connecting to
`customContextMenuRequested` signal, producing double menus.
  • Loading branch information
punchagan committed Feb 29, 2012
1 parent 526d453 commit 48e8bfd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions traitsui/qt4/list_str_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ def init ( self, parent ):
signal = QtCore.SIGNAL('activated(QModelIndex)')
QtCore.QObject.connect(self.list_view, signal, self._on_activate)

signal = QtCore.SIGNAL('customContextMenuRequested(QPoint)')
QtCore.QObject.connect(self.list_view, signal, self._on_context_menu)

# Initialize the editor title:
self.title = factory.title
self.sync_value(factory.title_name, 'title', 'from')
Expand Down

0 comments on commit 48e8bfd

Please sign in to comment.