Skip to content

Commit

Permalink
Do not override the channels list if one of the account has enterprise.
Browse files Browse the repository at this point in the history
Maintain stable and enterprise.

Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Oct 17, 2024
1 parent 3e4c1c5 commit 6d01abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6d01abf

Please sign in to comment.