diff options
author | Dmitry Koteroff <vortex@verona.im> | 2017-11-24 21:12:18 +0300 |
---|---|---|
committer | Dmitry Koteroff <vortex@verona.im> | 2017-11-24 21:21:55 +0300 |
commit | e3b0214f401da3cbb18a81cee0f0f5631f43239b (patch) | |
tree | b8f5444d7f5fe3b33dc124fefa71595022046149 /scene/gui/file_dialog.h | |
parent | 6086252f66ac185b97b0580352383e4b068b9fe5 (diff) |
A few small adjustments to file dialogs:
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
Diffstat (limited to 'scene/gui/file_dialog.h')
-rw-r--r-- | scene/gui/file_dialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/file_dialog.h b/scene/gui/file_dialog.h index 34cecfe4d0..6281e88731 100644 --- a/scene/gui/file_dialog.h +++ b/scene/gui/file_dialog.h @@ -33,7 +33,6 @@ #include "box_container.h" #include "os/dir_access.h" #include "scene/gui/dialogs.h" -#include "scene/gui/dialogs.h" #include "scene/gui/line_edit.h" #include "scene/gui/option_button.h" #include "scene/gui/tool_button.h" @@ -117,6 +116,8 @@ private: void _unhandled_input(const Ref<InputEvent> &p_event); + bool _is_open_should_be_disabled(); + virtual void _post_popup(); protected: |