diff options
Diffstat (limited to 'editor/run_settings_dialog.cpp')
-rw-r--r-- | editor/run_settings_dialog.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/editor/run_settings_dialog.cpp b/editor/run_settings_dialog.cpp index a5ae1fd8a6..c113abb86d 100644 --- a/editor/run_settings_dialog.cpp +++ b/editor/run_settings_dialog.cpp @@ -31,26 +31,21 @@ #include "run_settings_dialog.h" void RunSettingsDialog::popup_run_settings() { - popup_centered(Size2(300, 150)); } void RunSettingsDialog::set_custom_arguments(const String &p_arguments) { - arguments->set_text(p_arguments); } String RunSettingsDialog::get_custom_arguments() const { - return arguments->get_text(); } void RunSettingsDialog::_bind_methods() { - //ClassDB::bind_method("_browse_selected_file",&RunSettingsDialog::_browse_selected_file); } void RunSettingsDialog::_run_mode_changed(int idx) { - if (idx == 0) arguments->set_editable(false); else @@ -58,18 +53,15 @@ void RunSettingsDialog::_run_mode_changed(int idx) { } int RunSettingsDialog::get_run_mode() const { - return run_mode->get_selected(); } void RunSettingsDialog::set_run_mode(int p_run_mode) { - run_mode->select(p_run_mode); arguments->set_editable(p_run_mode); } RunSettingsDialog::RunSettingsDialog() { - /* SNAP DIALOG */ VBoxContainer *vbc = memnew(VBoxContainer); |