Skip to content

Commit

Permalink
Clear selection and buttons after loading keys
Browse files Browse the repository at this point in the history
This happens on initialize, import, and delete.
  • Loading branch information
netromdk committed Jun 25, 2018
1 parent 1f30c6c commit be65bf8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SSHManagement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ void SSHManagement::readStdOutLoadKeys()
}
}
}

// Clear selection and buttons after loading keys.
ui->listViewKeys->clearSelection();
ui->pushButtonExport->setEnabled(false);
ui->pushButtonDelete->setEnabled(false);
}

void SSHManagement::progressChanged(int total, int current)
Expand Down

0 comments on commit be65bf8

Please sign in to comment.