summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index e1c10d2..c90fb08 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -1534,6 +1534,10 @@ bool RecordImGui_CallbackSelectModal(long &selectedIndex) {
}
}
ImGui::EndPopup();
+ if (ImGui::IsPopupOpen("CallbackSelect") == true && count == 0) {
+ fprintf(stderr, "[RecordImGui_CallbackSelectModal] No available callback signatures.\n");
+ ImGui::CloseCurrentPopup();
+ }
}
return returnValue;
}