From e571f0255f2b045efb0525ebe104322bc331d584 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Fri, 4 Jan 2019 14:23:49 +0100 Subject: Fix T59946: multiple quit dialogs possible. Differential Revision: https://developer.blender.org/D4147 --- source/blender/editors/include/UI_interface.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index c525d9cffe6..2e31a1a9ae5 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -493,6 +493,8 @@ void UI_popup_block_ex(struct bContext *C, uiBlockCreateFunc func, uiBlockHandle void UI_popup_block_close(struct bContext *C, struct wmWindow *win, uiBlock *block); +bool UI_popup_block_name_exists(struct bContext *C, const char *name); + /* Blocks * * Functions for creating, drawing and freeing blocks. A Block is a -- cgit v1.2.3