Commit d5142538 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 246ef7ad
......@@ -492,10 +492,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