From 063e5504a00c2b018ad14156c06fda95d6d0f902 Mon Sep 17 00:00:00 2001 From: sonjita Date: Fri, 18 Oct 2019 12:52:24 +0200 Subject: [PATCH] Reload settings when verification dialog is closed When a user wants to add a phone number or email addess, a verifikation token is sent to them and a dialog is opened to enter it. Before the commit, after closing the verification dialog, the settings dialog was not refreshed. Therefore the added would stay in the input with a spinner spinning next to it until another action was taken. With this commit, closing the verification dialog refreshes the settings window. --- fractal-gtk/src/appop/account.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fractal-gtk/src/appop/account.rs b/fractal-gtk/src/appop/account.rs index f5a7e671..442ce3be 100644 --- a/fractal-gtk/src/appop/account.rs +++ b/fractal-gtk/src/appop/account.rs @@ -103,6 +103,7 @@ impl AppOp { } w.destroy(); }); + self.get_three_pid(); dialog.show_all(); } @@ -139,6 +140,7 @@ impl AppOp { } w.destroy(); }); + self.get_three_pid(); dialog.show_all(); }