correctly handle reload after backends configuration
This commit is contained in:
parent
7859aa0ba6
commit
bf0f1d94b1
5 changed files with 20 additions and 7 deletions
|
|
@ -237,13 +237,14 @@ class ContactsWidget(QWidget):
|
|||
self.ui.groupBox.addItem('All', MetaGroup(self.weboob, 'all', self.tr('All')))
|
||||
self.ui.groupBox.addItem('Onlines', MetaGroup(self.weboob, 'online', self.tr('Online')))
|
||||
self.ui.groupBox.addItem('Offlines', MetaGroup(self.weboob, 'offline', self.tr('Offline')))
|
||||
self.ui.groupBox.setCurrentIndex(1)
|
||||
|
||||
self.connect(self.ui.groupBox, SIGNAL('currentIndexChanged(int)'), self.groupChanged)
|
||||
self.connect(self.ui.contactList, SIGNAL('currentItemChanged(QListWidgetItem*, QListWidgetItem*)'), self.contactChanged)
|
||||
self.connect(self.ui.refreshButton, SIGNAL('clicked()'), self.refreshContactList)
|
||||
|
||||
def load(self):
|
||||
self.ui.groupBox.setCurrentIndex(1)
|
||||
self.refreshContactList()
|
||||
|
||||
def groupChanged(self, i):
|
||||
self.refreshContactList()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue