Refresh list of android hosts whenever context switcher is opened

* It's very fast, and means we update whenever a device is plugged in or
  unplugged.
This commit is contained in:
baldurk
2018-01-02 15:34:04 +00:00
parent c30511e523
commit e3ead220f6
+2
View File
@@ -1463,6 +1463,8 @@ void MainWindow::messageCheck()
void MainWindow::FillRemotesMenu(QMenu *menu, bool includeLocalhost)
{
m_Ctx.Config().AddAndroidHosts();
menu->clear();
for(int i = 0; i < m_Ctx.Config().RemoteHosts.count(); i++)