Subscription wrong tab

- when subscribing from addressbook, it switched to blacklist tab
  instead of subscriptions
This commit is contained in:
Peter Šurda 2017-02-26 20:03:47 +01:00
parent 88658b074e
commit cff1af1b4f
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -3309,7 +3309,7 @@ class MyForm(settingsmixin.SMainWindow):
continue continue
labelAtCurrentRow = self.ui.tableWidgetAddressBook.item(currentRow,0).text().toUtf8() labelAtCurrentRow = self.ui.tableWidgetAddressBook.item(currentRow,0).text().toUtf8()
self.addSubscription(addressAtCurrentRow, labelAtCurrentRow) self.addSubscription(addressAtCurrentRow, labelAtCurrentRow)
self.ui.tabWidget.setCurrentIndex(4) self.ui.tabWidget.setCurrentIndex(2)
def on_context_menuAddressBook(self, point): def on_context_menuAddressBook(self, point):
self.popMenuAddressBook = QtGui.QMenu(self) self.popMenuAddressBook = QtGui.QMenu(self)