No need to call tableSelectionChanged() explicitly in populateTable().

The previous call to selectedRow() should have alreaddy triggered
tableSelectionChanged() automatically.
wilder-portage
Jekyll Wu 15 years ago
parent ce496b5933
commit 96c0f3a44e
  1. 1
      src/ManageProfilesDialog.cpp

@ -260,7 +260,6 @@ void ManageProfilesDialog::populateTable()
SLOT(tableSelectionChanged(QItemSelection)) );
_ui->sessionTable->selectRow(0);
tableSelectionChanged( _ui->sessionTable->selectionModel()->selection() );
}
void ManageProfilesDialog::updateDefaultItem()
{

Loading…
Cancel
Save