commit 87d68ebf5ba44793de328fde54a6d830f6b6157b
parent 827a285511e68e7cd353485aba9fc290b9f05478
Author: TheJackiMonster <thejackimonster@gmail.com>
Date: Mon, 14 Mar 2022 23:23:02 +0100
Fix new account creation on startup
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/ui/accounts.c b/src/ui/accounts.c
@@ -219,5 +219,7 @@ ui_accounts_dialog_cleanup(UI_ACCOUNTS_Handle *handle)
{
g_object_unref(handle->builder);
+ guint show = handle->show_queued;
memset(handle, 0, sizeof(*handle));
+ handle->show_queued = show;
}
diff --git a/src/ui/new_account.c b/src/ui/new_account.c
@@ -189,5 +189,7 @@ ui_new_account_dialog_cleanup(UI_NEW_ACCOUNT_Handle *handle)
{
g_object_unref(handle->builder);
+ guint show = handle->show_queued;
memset(handle, 0, sizeof(*handle));
+ handle->show_queued = show;
}