mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 21:49:55 +00:00
[Browser] Remove servers before updating server list
This commit is contained in:
parent
b0c1aafc5a
commit
6a472de1c0
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ QueryHelper::QueryHelper(QAbstractItemModel *model)
|
|||
|
||||
void QueryHelper::refresh()
|
||||
{
|
||||
if(!queryThread->isRunning())
|
||||
_model->removeRows(0, _model->rowCount());
|
||||
queryThread->start();
|
||||
emit started();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue