mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 21:34:58 +02:00
parent
0faa139234
commit
6c19e88242
@ -2741,10 +2741,7 @@ void FindReplaceDlg::enableFindDlgItem(int dlgItemID, bool isEnable /* = true*/)
|
||||
HWND h = ::GetDlgItem(_hSelf, dlgItemID);
|
||||
if (!h) return;
|
||||
|
||||
if (::IsWindowVisible(h))
|
||||
{
|
||||
::EnableWindow(h, isEnable ? TRUE : FALSE);
|
||||
}
|
||||
::EnableWindow(h, isEnable ? TRUE : FALSE);
|
||||
|
||||
// remember the real state of this control being enabled/disabled
|
||||
_controlEnableMap[dlgItemID] = isEnable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user