Commit ec39a5cd authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Reset the sshConfig entity when it's deleted.

parent b18d7c9d
......@@ -194,6 +194,10 @@ Qt::ItemFlags SSHManagerModel::flags(const QModelIndex &index) const
void SSHManagerModel::removeIndex(const QModelIndex &idx)
if ( == i18n("SSH Config")) {
m_sshConfigTopLevelItem = nullptr;
removeRow(idx.row(), idx.parent());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment