load tabs only when they are shown for the first time
This commit is contained in:
parent
d23bed8335
commit
11893f4bb0
3 changed files with 14 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ class ContactsWidget(QWidget):
|
|||
self.connect(self.ui.groupBox, SIGNAL('currentIndexChanged(int)'), self.groupChanged)
|
||||
self.connect(self.ui.contactList, SIGNAL('currentItemChanged(QListWidgetItem*, QListWidgetItem*)'), self.contactChanged)
|
||||
|
||||
def load(self):
|
||||
self.ui.groupBox.setCurrentIndex(1)
|
||||
|
||||
def groupChanged(self, i):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue