summaryrefslogtreecommitdiffstats
path: root/editor/gui/editor_toaster.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-11-03 15:04:50 +0100
committerkobewi <kobewi4e@gmail.com>2024-11-10 21:23:48 +0100
commitcb7304662b8ee24df34c09b2ebd4404ec4cd43b8 (patch)
treecae6a041aa0be4a86b60a9aed7ab7c63bf18badd /editor/gui/editor_toaster.h
parent0f5f3bc9546b46b2029fc8896dc859697f1eab97 (diff)
downloadredot-engine-cb7304662b8ee24df34c09b2ebd4404ec4cd43b8.tar.gz
Close toasts instantly when Close button is pressed
Diffstat (limited to 'editor/gui/editor_toaster.h')
-rw-r--r--editor/gui/editor_toaster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/gui/editor_toaster.h b/editor/gui/editor_toaster.h
index 35a4337746..6fcc2ce3e9 100644
--- a/editor/gui/editor_toaster.h
+++ b/editor/gui/editor_toaster.h
@@ -115,6 +115,7 @@ public:
Control *popup(Control *p_control, Severity p_severity = SEVERITY_INFO, double p_time = 0.0, const String &p_tooltip = String());
void popup_str(const String &p_message, Severity p_severity = SEVERITY_INFO, const String &p_tooltip = String());
void close(Control *p_control);
+ void instant_close(Control *p_control);
EditorToaster();
~EditorToaster();