summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-04-23 17:49:15 +0200
committerqarmin <mikrutrafal54@gmail.com>2019-04-23 17:49:15 +0200
commit2fc2d824650ad1fa4fa3a2a09fe3d5d878a80712 (patch)
tree18633fc3fec11c0f7418913e5e2c6e12a1db470d
parentb0da7b66ce278179eedd0e21dae1d84ed3f4459d (diff)
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 82a6a07805..98c7b809c7 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();
}