Hide the SASL EXTERNAL notice while loading
authorShane Synan <digitalcircuit36939@gmail.com>
Sun, 4 Dec 2016 05:32:08 +0000 (23:32 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Apr 2017 21:30:16 +0000 (23:30 +0200)
Update the status of the "SASL EXTERNAL in use" when first loading
the Network settings page.  This avoids briefly showing it when
opening the Networks settings page while loading backlog from the
core.

src/qtui/settingspages/networkssettingspage.cpp

index 5ac2795..bcdc6cf 100644 (file)
@@ -194,6 +194,12 @@ void NetworksSettingsPage::load()
                                           "modify message rate limits.")));
     }
 
+#ifdef HAVE_SSL
+    // Hide the SASL EXTERNAL notice until a network's shown.  Stops it from showing while loading
+    // backlog from the core.
+    sslUpdated();
+#endif
+
     foreach(NetworkId netid, Client::networkIds()) {
         clientNetworkAdded(netid);
     }