Commit 9e1b53ca authored by Radosław Wicik's avatar Radosław Wicik
Browse files

Fix crash when removing a Database Connection.

BUG:315288
FIXED-IN:2.8.4
REVIEW:118582
parent fdf11cc7
......@@ -443,10 +443,11 @@ void KexiConnectionSelectorWidget::slotRemoteRemoveBtnClicked()
if (!d->conn_set->removeConnectionData(item->data()))
return;
item->parent()->removeChild(item);
delete item;
if (nextItem)
nextItem->setSelected(true);
delete item;
slotConnectionSelectionChanged();
}
......
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