Skip to content

Commit

Permalink
Merge pull request #667 from nextcloud/upstream/pr/6592
Browse files Browse the repository at this point in the history
SettingsDialog: Show the page for the newly created account
  • Loading branch information
rullzer authored Oct 25, 2018
2 parents 44bc637 + 6224f6a commit 8acc557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/settingsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ void SettingsDialog::accountAdded(AccountState *s)
_actionGroup->addAction(accountAction);
_actionGroupWidgets.insert(accountAction, accountSettings);
_actionForAccount.insert(s->account().data(), accountAction);
accountAction->trigger();

connect(accountSettings, &AccountSettings::folderChanged, _gui, &ownCloudGui::slotFoldersChanged);
connect(accountSettings, &AccountSettings::openFolderAlias,
Expand Down
1 change: 1 addition & 0 deletions src/gui/settingsdialogmac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ void SettingsDialogMac::accountAdded(AccountState *s)
_activitySettings[s]->setNotificationRefreshInterval(cfg.notificationRefreshInterval());

slotRefreshActivity(s);
setCurrentPanelIndex(0);
}

void SettingsDialogMac::accountRemoved(AccountState *s)
Expand Down

0 comments on commit 8acc557

Please sign in to comment.