diff options
author | Julian Murgia - StraToN <the.straton@gmail.com> | 2015-11-19 14:15:17 +0100 |
---|---|---|
committer | Julian Murgia - StraToN <the.straton@gmail.com> | 2015-11-19 14:15:17 +0100 |
commit | 6d20ded6d7d776a0397ba8bd3f9e8250d2c4d9ff (patch) | |
tree | bfd9a4296701ac9de8db8666c96c391d4a546458 /tools/editor/editor_node.h | |
parent | 9fe85da881205f68ed949a1370ddd162ec331dc7 (diff) |
Ask confirmation on closing a scene tab
Diffstat (limited to 'tools/editor/editor_node.h')
-rw-r--r-- | tools/editor/editor_node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h index bd88e1a4b9..002df0f3ea 100644 --- a/tools/editor/editor_node.h +++ b/tools/editor/editor_node.h @@ -173,6 +173,7 @@ class EditorNode : public Node { SOURCES_REIMPORT, DEPENDENCY_LOAD_CHANGED_IMAGES, DEPENDENCY_UPDATE_IMPORTED, + SCENE_TAB_CLOSE, IMPORT_PLUGIN_BASE=100, @@ -217,6 +218,7 @@ class EditorNode : public Node { //main tabs Tabs *scene_tabs; + int tab_closing; int old_split_ofs; |