Gerrit: Do not refresh dialog on update remotes when hidden

Change-Id: Ie9b00c1a117b1b2a3823dcb9249ed563b3dbd4a7
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2018-05-31 22:15:57 +03:00
committed by Orgad Shaneh
parent 2a3bfea8a9
commit d7b8dcc684
2 changed files with 3 additions and 2 deletions

View File

@@ -224,7 +224,8 @@ void GerritDialog::remoteChanged()
return;
}
*m_server = server;
refresh();
if (isVisible())
refresh();
}
void GerritDialog::updateRemotes(bool forceReload)