mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
This commit is contained in:
parent
fa5cc1da7a
commit
0823d78374
4 changed files with 35 additions and 15 deletions
|
|
@ -123,6 +123,7 @@ private:
|
|||
void _load_defaults(Ref<ConfigFile> p_extra_config = NULL);
|
||||
void _load_default_text_editor_theme();
|
||||
bool _save_text_editor_theme(String p_file);
|
||||
bool _is_default_text_editor_theme(String p_file);
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
|
@ -187,6 +188,7 @@ public:
|
|||
bool import_text_editor_theme(String p_file);
|
||||
bool save_text_editor_theme();
|
||||
bool save_text_editor_theme_as(String p_file);
|
||||
bool is_default_text_editor_theme();
|
||||
|
||||
Vector<String> get_script_templates(const String &p_extension);
|
||||
String get_editor_layouts_config() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue