summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Barroga <emmanuelbarroga@gmail.com>2019-08-14 18:30:42 -0700
committerEmmanuel Barroga <emmanuelbarroga@gmail.com>2019-08-14 18:30:42 -0700
commit1f5dc0ea3bf4b9b21d70fda3c4c4f2c9409b3fbf (patch)
treeb11bd3c1c459d637c122bd7b2d3f7e65735a2559
parent188a10df8b9258805c5551615d8f6cfa6a4466a0 (diff)
Fixes ProjectManager Buttons Not Updating
Fixes buttons in ProjectManager not updating to disabled after deleting projects.
-rw-r--r--editor/project_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index 46d125e735..0f3c4c924a 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -2075,10 +2075,12 @@ void ProjectManager::_rename_project() {
void ProjectManager::_erase_project_confirm() {
_project_list->erase_selected_projects();
+ _update_project_buttons();
}
void ProjectManager::_erase_missing_projects_confirm() {
_project_list->erase_missing_projects();
+ _update_project_buttons();
}
void ProjectManager::_erase_project() {