summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/classPsTreeItem.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-10 11:22:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-10 11:22:10 +0300
commit47d5ff93323f788ed160c930617a2c997c803453 (patch)
treec085be51f4eb7c8c6aad71f4519f84312dba85ad /plugins/UserInfoEx/src/classPsTreeItem.cpp
parent3c5f696829216c7a113f71ff9099178c11817aca (diff)
UInfoEx: minor fix for condition
Diffstat (limited to 'plugins/UserInfoEx/src/classPsTreeItem.cpp')
-rw-r--r--plugins/UserInfoEx/src/classPsTreeItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/classPsTreeItem.cpp b/plugins/UserInfoEx/src/classPsTreeItem.cpp
index 914e80da31..189d9fd9a1 100644
--- a/plugins/UserInfoEx/src/classPsTreeItem.cpp
+++ b/plugins/UserInfoEx/src/classPsTreeItem.cpp
@@ -528,7 +528,7 @@ void CPsTreeItem::OnInfoChanged()
**/
void CPsTreeItem::OnPageIconsChanged()
{
- if (_hWnd && _initParam) {
+ if (_hWnd && _hInst == g_plugin.getInst()) {
auto *pDlg = (PSPBaseDlg *)_pDialog;
pDlg->OnIconsChanged();
}