1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

fix #6031 when creating a script the language will be what you selected last time

This commit is contained in:
Adham Zahran
2016-10-12 22:23:48 +02:00
parent 78d97b060a
commit a84a461767
4 changed files with 46 additions and 1 deletions

View File

@@ -33,6 +33,7 @@
#include "scene/gui/line_edit.h"
#include "scene/gui/option_button.h"
#include "tools/editor/editor_file_dialog.h"
#include "tools/editor/editor_settings.h"
#include "scene/gui/check_button.h"
class ScriptCreateDialog : public ConfirmationDialog {
@@ -50,6 +51,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
AcceptDialog *alert;
bool path_valid;
String initial_bp;
EditorSettings *editor_settings;
void _path_changed(const String& p_path=String());