diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | win32/gui/CheatDlg.c | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +September 18, 2009 Wei Mingzhi <weimingzhi@gmail.com> + + * win32/gui/CheatDlg.c: Disable "Search Type" dialog box if search results + already exist. + September 16, 2009 Wei Mingzhi <weimingzhi@gmail.com> * po/pt_BR.po, po/pt_BR.gmo: Added Portuguese (Brazil) translation. Thanks 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);
|
