This commit is contained in:
Wladimir J. van der Laan 2011-06-21 15:33:10 +02:00
parent 54e903a543
commit 50d08dc1e1

View File

@ -69,6 +69,7 @@ void AddressBookDialog::setModel(AddressTableModel *model)
void AddressBookDialog::setTab(int tab) void AddressBookDialog::setTab(int tab)
{ {
ui->tabWidget->setCurrentIndex(tab); ui->tabWidget->setCurrentIndex(tab);
on_tabWidget_currentChanged(tab);
} }
QTableView *AddressBookDialog::getCurrentTable() QTableView *AddressBookDialog::getCurrentTable()