From 53681105362a8683768185510ebf26a4ed6d3373 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 17 Oct 2024 16:51:27 +0200 Subject: [PATCH] Do not override the channels list if one of the account has enterprise. Maintain stable and enterprise. Signed-off-by: Camila Ayres --- src/gui/generalsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp index 264bca62b17b6..1152342edeba6 100644 --- a/src/gui/generalsettings.cpp +++ b/src/gui/generalsettings.cpp @@ -293,7 +293,7 @@ void GeneralSettings::loadMiscSettings() #if defined(BUILD_UPDATER) void GeneralSettings::loadUpdateChannelsList() { ConfigFile cfgFile; - if (_currentUpdateChannelList != cfgFile.validUpdateChannels()) { + if (_currentUpdateChannelList != cfgFile.validUpdateChannels() && !cfgFile.serverHasValidSubscription()) { _currentUpdateChannelList = cfgFile.validUpdateChannels(); _ui->updateChannel->clear(); _ui->updateChannel->addItems(_currentUpdateChannelList);