From 18ad3cf4a57e9bc4b3eb27aa1604e202f45e6254 Mon Sep 17 00:00:00 2001 From: Zach Halpern Date: Sun, 3 Mar 2019 16:14:08 -0500 Subject: [PATCH] Disable auto connect when updating --- cockatrice/src/dlg_connect.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cockatrice/src/dlg_connect.cpp b/cockatrice/src/dlg_connect.cpp index 8f676a77..a5982689 100644 --- a/cockatrice/src/dlg_connect.cpp +++ b/cockatrice/src/dlg_connect.cpp @@ -206,6 +206,10 @@ void DlgConnect::rebuildComboBoxList(int failure) } } + // Disable auto connect when updating + settingsCache->servers().setAutoConnect(false); + + // Re-enable the refresh server button btnRefreshServers->setDisabled(false); }