Skip to content
Snippets Groups Projects
Commit 62591178 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

ringmainwindow: remove incorrect combobox refresh


When leaving or entering into the settings view,
the combobox is already good, don't need to change it
and since the new combo box, this check is incorrect.

Change-Id: Ic13cce67512bbe244659bd4b97ebbb9ec48e743c
Gitlab: #851
Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
parent 6154f1aa
No related branches found
No related tags found
No related merge requests found
......@@ -1324,15 +1324,6 @@ CppImpl::enterSettingsView()
media_settings_view_show_preview(MEDIA_SETTINGS_VIEW(widgets->media_settings_view), TRUE);
gtk_stack_set_visible_child(GTK_STACK(widgets->stack_main_view), widgets->last_settings_view);
// Show disabled accounts for account settings
auto selectionIdx = gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->combobox_account_selector));
std::string id = "";
if (accountInfo_)
id = accountInfo_->id;
refreshAccountSelectorWidget(selectionIdx, true);
}
void
......@@ -1365,15 +1356,6 @@ CppImpl::leaveSettingsView()
resetToWelcome();
has_cleared_all_history = false;
}
// Show disabled accounts for account settings
auto selectionIdx = gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->combobox_account_selector));
std::string id = "";
if (accountInfo_)
id = accountInfo_->id;
refreshAccountSelectorWidget(selectionIdx, true);
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment