summaryrefslogtreecommitdiff
path: root/win32/gui
diff options
context:
space:
mode:
Diffstat (limited to 'win32/gui')
-rw-r--r--win32/gui/CheatDlg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/gui/CheatDlg.c b/win32/gui/CheatDlg.c
index 05b4285f..7fb2500e 100644
--- a/win32/gui/CheatDlg.c
+++ b/win32/gui/CheatDlg.c
@@ -411,6 +411,11 @@ static void UpdateCheatSearchDlg(HWND hW) {
SendMessage(GetDlgItem(hW, IDC_SEARCHFOR), CB_ADDSTRING, 0, (LPARAM)_("Decreased"));
SendMessage(GetDlgItem(hW, IDC_SEARCHFOR), CB_ADDSTRING, 0, (LPARAM)_("Different"));
SendMessage(GetDlgItem(hW, IDC_SEARCHFOR), CB_ADDSTRING, 0, (LPARAM)_("No Change"));
+
+ ComboBox_Enable(GetDlgItem(hW, IDC_DATATYPE), FALSE);
+ }
+ else {
+ ComboBox_Enable(GetDlgItem(hW, IDC_DATATYPE), TRUE);
}
SendMessage(GetDlgItem(hW, IDC_SEARCHFOR), CB_SETCURSEL, (WPARAM)current_search, 0);