summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-25 13:30:15 +0200
committerGitHub <noreply@github.com>2019-04-25 13:30:15 +0200
commitbfd2ad00593f44c5edcd88a8cc66611693b89e5f (patch)
treeacb766de1688d3bd126525709daf6be7bacc2a33
parentcfc6ae8920359744e87d00b1336705a0ad853926 (diff)
parent2fc2d824650ad1fa4fa3a2a09fe3d5d878a80712 (diff)
Merge pull request #28338 from qarmin/disable_project_export_button
Disable Project Export button after deleting preset
-rw-r--r--editor/project_export.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index f1d4772549..b9cf7ec10a 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -631,6 +631,7 @@ void ProjectExportDialog::_delete_preset_confirm() {
int idx = presets->get_current();
_edit_preset(-1);
+ export_button->set_disabled(true);
EditorExport::get_singleton()->remove_export_preset(idx);
_update_presets();
}