summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_combo.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-02 17:33:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-02 17:33:56 +0300
commit2daa10fc6e063ab3e4824dc22820bbe7d3ce733f (patch)
tree9cb0423c11107f50d59188b3cba60679edacf34e /plugins/UserInfoEx/src/ctrl_combo.cpp
parentf992896697029feed516dcd9935ce6db63b557f2 (diff)
UInfoEx: details options dialog -> UI classes
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_combo.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_combo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_combo.cpp b/plugins/UserInfoEx/src/ctrl_combo.cpp
index 512371116a..71d1c79db9 100644
--- a/plugins/UserInfoEx/src/ctrl_combo.cpp
+++ b/plugins/UserInfoEx/src/ctrl_combo.cpp
@@ -150,7 +150,7 @@ BOOL CCombo::OnInfoChanged(MCONTACT hContact, LPCSTR pszProto)
_Flags.B.hasCustom = _Flags.B.hasProto = _Flags.B.hasMeta = false;
_Flags.W |= DB::Setting::GetWStringCtrl(hContact, USERINFO, USERINFO, pszProto, _pszSetting, &dbv);
- EnableWindow(_hwnd, !hContact || _Flags.B.hasCustom || !g_plugin.getByte(SET_PROPSHEET_PCBIREADONLY, 0));
+ EnableWindow(_hwnd, !hContact || _Flags.B.hasCustom || !g_plugin.bReadOnly);
if (_Flags.B.hasCustom || _Flags.B.hasProto || _Flags.B.hasMeta) {
switch (dbv.type) {