diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2019-08-15 19:47:21 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2019-08-15 19:47:21 +0200 |
commit | cedee8281b747c4dd60e4e9d8d2f9bfa8b1f62b2 (patch) | |
tree | e1cfc04f78a412c7e130f0e9be9f98fc7351b52b /editor/filesystem_dock.h | |
parent | b24228e03b950d5efdea18df0dd7b6fed58f0385 (diff) | |
download | redot-engine-cedee8281b747c4dd60e4e9d8d2f9bfa8b1f62b2.tar.gz |
Allow to create scene from FileSystem dock
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r-- | editor/filesystem_dock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h index 6de370ad29..cc5ba94b48 100644 --- a/editor/filesystem_dock.h +++ b/editor/filesystem_dock.h @@ -87,6 +87,7 @@ private: FILE_INFO, FILE_NEW_FOLDER, FILE_NEW_SCRIPT, + FILE_NEW_SCENE, FILE_SHOW_IN_EXPLORER, FILE_COPY_PATH, FILE_NEW_RESOURCE, @@ -135,6 +136,8 @@ private: LineEdit *duplicate_dialog_text; ConfirmationDialog *make_dir_dialog; LineEdit *make_dir_dialog_text; + ConfirmationDialog *make_scene_dialog; + LineEdit *make_scene_dialog_text; ConfirmationDialog *overwrite_dialog; ScriptCreateDialog *make_script_dialog_text; CreateDialog *new_resource_dialog; @@ -213,6 +216,7 @@ private: void _resource_created() const; void _make_dir_confirm(); + void _make_scene_confirm(); void _rename_operation_confirm(); void _duplicate_operation_confirm(); void _move_with_overwrite(); |