From 49bbec08e22bcbfd43587009d738f2875d532b11 Mon Sep 17 00:00:00 2001 From: qarmin Date: Tue, 23 Apr 2019 17:49:15 +0200 Subject: [PATCH] Disable Project Export button after deleting preset (cherry picked from commit 2fc2d824650ad1fa4fa3a2a09fe3d5d878a80712) --- editor/project_export.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/project_export.cpp b/editor/project_export.cpp index 82a6a07805d..98c7b809c75 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(); }