Reording menu items and not just handlers. Derp.
This commit is contained in:
parent
a34eec8f4b
commit
dca9b31367
|
@ -3239,12 +3239,11 @@ class MyForm(QtGui.QMainWindow):
|
||||||
self.ui.tableWidgetAddressBook.setContextMenuPolicy( QtCore.Qt.CustomContextMenu )
|
self.ui.tableWidgetAddressBook.setContextMenuPolicy( QtCore.Qt.CustomContextMenu )
|
||||||
self.connect(self.ui.tableWidgetAddressBook, QtCore.SIGNAL('customContextMenuRequested(const QPoint&)'), self.on_context_menuAddressBook)
|
self.connect(self.ui.tableWidgetAddressBook, QtCore.SIGNAL('customContextMenuRequested(const QPoint&)'), self.on_context_menuAddressBook)
|
||||||
self.popMenuAddressBook = QtGui.QMenu( self )
|
self.popMenuAddressBook = QtGui.QMenu( self )
|
||||||
self.popMenuAddressBook.addAction( self.actionAddressBookNew )
|
|
||||||
self.popMenuAddressBook.addAction( self.actionAddressBookDelete )
|
|
||||||
self.popMenuAddressBook.addSeparator()
|
|
||||||
self.popMenuAddressBook.addAction( self.actionAddressBookSend )
|
self.popMenuAddressBook.addAction( self.actionAddressBookSend )
|
||||||
self.popMenuAddressBook.addAction( self.actionAddressBookClipboard )
|
self.popMenuAddressBook.addAction( self.actionAddressBookClipboard )
|
||||||
|
self.popMenuAddressBook.addSeparator()
|
||||||
|
self.popMenuAddressBook.addAction( self.actionAddressBookNew )
|
||||||
|
self.popMenuAddressBook.addAction( self.actionAddressBookDelete )
|
||||||
|
|
||||||
#Popup menu for the Subscriptions page
|
#Popup menu for the Subscriptions page
|
||||||
self.ui.subscriptionsContextMenuToolbar = QtGui.QToolBar()
|
self.ui.subscriptionsContextMenuToolbar = QtGui.QToolBar()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user