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

registration: do not show dialog at end of registration

Change-Id: I295292b0f716bee6e7b710662271866780461c88
parent 470dfeba
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,7 @@ build_view(UsernameRegistrationBox *view, gboolean register_button)
&lrc::api::NewAccountModel::nameRegistrationEnded,
[=] (const std::string& accountId, lrc::api::account::RegisterNameStatus status, const std::string& name) {
if (accountId != (*priv->accountInfo_)->id) return;
if (name == "") return;
gtk_spinner_stop(GTK_SPINNER(priv->spinner));
gtk_widget_hide(priv->spinner);
gtk_widget_set_sensitive(priv->entry_username, TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment