[Browser] Remove servers before updating server list

0.6.1
Koncord 8 years ago
parent b0c1aafc5a
commit 6a472de1c0

@ -26,6 +26,8 @@ QueryHelper::QueryHelper(QAbstractItemModel *model)
void QueryHelper::refresh() void QueryHelper::refresh()
{ {
if(!queryThread->isRunning())
_model->removeRows(0, _model->rowCount());
queryThread->start(); queryThread->start();
emit started(); emit started();
} }

Loading…
Cancel
Save