diff options
| author | Julian Murgia - StraToN | 2015-11-19 14:15:17 +0100 |
|---|---|---|
| committer | Julian Murgia - StraToN | 2015-11-19 14:15:17 +0100 |
| commit | 6d20ded6d7d776a0397ba8bd3f9e8250d2c4d9ff (patch) | |
| tree | bfd9a4296701ac9de8db8666c96c391d4a546458 /tools/editor/editor_node.h | |
| parent | 9fe85da881205f68ed949a1370ddd162ec331dc7 (diff) | |
| download | godot-6d20ded6d7d776a0397ba8bd3f9e8250d2c4d9ff.tar.gz godot-6d20ded6d7d776a0397ba8bd3f9e8250d2c4d9ff.tar.zst godot-6d20ded6d7d776a0397ba8bd3f9e8250d2c4d9ff.zip | |
Ask confirmation on closing a scene tab
Diffstat (limited to '')
| -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 bd88e1a4b..002df0f3e 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; |
