Do not call selectedRow() at the end of tableSelectionChanged().

That line will cause infinite growing stack when Ctrl+A is pressed and
finally make konsole crash .

BUG: 281375
FIXED-IN: 4.8
wilder-portage
Jekyll Wu 15 years ago
parent 96c0f3a44e
commit e83bc55fa4
  1. 1
      src/ManageProfilesDialog.cpp

@ -306,7 +306,6 @@ void ManageProfilesDialog::tableSelectionChanged(const QItemSelection&)
// _ui->moveUpButton->setEnabled((selectedRows == 1) && (rowIndex > 0));
// _ui->moveDownButton->setEnabled((selectedRows == 1) && (rowIndex < (_sessionModel->rowCount()-1)));
_ui->sessionTable->selectRow(rowIndex);
}
void ManageProfilesDialog::deleteSelected()
{

Loading…
Cancel
Save