From 6793871295193890d2a3d8ec90d3f9a387dd8331 Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Sat, 3 Dec 2016 23:32:08 -0600 Subject: [PATCH] Hide the SASL EXTERNAL notice while loading 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qtui/settingspages/networkssettingspage.cpp b/src/qtui/settingspages/networkssettingspage.cpp index 5ac2795b..bcdc6cfd 100644 --- a/src/qtui/settingspages/networkssettingspage.cpp +++ b/src/qtui/settingspages/networkssettingspage.cpp @@ -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); } -- 2.20.1