From 823dd1027c945285d59fe5881d6246bedc4e5c8e Mon Sep 17 00:00:00 2001 From: Dev Aggarwal Date: Wed, 25 Dec 2024 22:24:07 +0530 Subject: [PATCH] Raise `gui.RerunException` in `edit_secret_button_with_dialog` to trigger rerun when dialog is closed --- managed_secrets/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/managed_secrets/widgets.py b/managed_secrets/widgets.py index 08b4dd935..ea39409aa 100644 --- a/managed_secrets/widgets.py +++ b/managed_secrets/widgets.py @@ -213,4 +213,4 @@ def edit_secret_button_with_dialog( ) else: dialog.set_open(False) - raise gui.RedirectException + raise gui.RerunException()