mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:36:42 +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()
|
void QueryHelper::refresh()
|
||||||
{
|
{
|
||||||
|
if(!queryThread->isRunning())
|
||||||
|
_model->removeRows(0, _model->rowCount());
|
||||||
queryThread->start();
|
queryThread->start();
|
||||||
emit started();
|
emit started();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue