From 5746214198c4c7b71c459197bc93c89d6dadffda Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Tue, 29 Sep 2020 14:35:22 -0700 Subject: [PATCH] Key binding fix --- IDE/src/Settings.bf | 3 +++ IDE/src/ui/PropertiesDialog.bf | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/IDE/src/Settings.bf b/IDE/src/Settings.bf index 8b8aca25..63c9efc1 100644 --- a/IDE/src/Settings.bf +++ b/IDE/src/Settings.bf @@ -760,6 +760,9 @@ namespace IDE #endif #unwarn + /*if (gApp.mOutputPanel != null) + gApp.OutputLine("Applying key bindings");*/ + for (var cmd in gApp.mCommands.mCommandMap.Values) cmd.mNext = null; gApp.mCommands.mKeyMap.Clear(); diff --git a/IDE/src/ui/PropertiesDialog.bf b/IDE/src/ui/PropertiesDialog.bf index 00aae0be..6935ec5f 100644 --- a/IDE/src/ui/PropertiesDialog.bf +++ b/IDE/src/ui/PropertiesDialog.bf @@ -685,8 +685,6 @@ namespace IDE.ui protected void ApplyChanges(PropPage propPage, ref bool hadChanges) { - hadChanges = false; - for (var propEntries in propPage.mPropEntries.Values) { for (var propEntry in propEntries)