diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-15 14:03:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-15 14:03:11 +0300 |
commit | 658ddc5d21eeb4284745723ac6ca1c6f1c2f7d34 (patch) | |
tree | ac0f950eb92e28738ead6c97b300b0ae7a9cea7e | |
parent | 11bccc883cdd9ef9ed048d983271885c75d79e1f (diff) |
and also for dynamically disabled controls
-rw-r--r-- | src/mir_core/src/CCtrlBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_core/src/CCtrlBase.cpp b/src/mir_core/src/CCtrlBase.cpp index a4fd2ecc29..b940d00bef 100644 --- a/src/mir_core/src/CCtrlBase.cpp +++ b/src/mir_core/src/CCtrlBase.cpp @@ -85,6 +85,7 @@ void CCtrlBase::Show(bool bShow) void CCtrlBase::Enable(bool bIsEnable) { ::EnableWindow(m_hwnd, bIsEnable); + m_bSilent = !bIsEnable; } bool CCtrlBase::Enabled() const |