summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-15 14:57:57 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-02-15 14:57:57 +0200
commit746e61de88601ba9fa372a89b21dd2ea760539ae (patch)
treefb112a4304f5e4208c8f497f56c993e3edcc54a4
parent7191b3df2e9f473133c99f56c46c72c99c122c8a (diff)
no need to do the same job twice
-rw-r--r--plugins/TabSRMM/src/containeroptions.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/containeroptions.cpp b/plugins/TabSRMM/src/containeroptions.cpp
index c87c52700f..89ec3b074d 100644
--- a/plugins/TabSRMM/src/containeroptions.cpp
+++ b/plugins/TabSRMM/src/containeroptions.cpp
@@ -192,8 +192,6 @@ INT_PTR CALLBACK DlgProcContainerOptions(HWND hwndDlg, UINT msg, WPARAM wParam,
HTREEITEM hItem = TreeView_InsertItem(hwndTree, &tvis);
if (i == 0)
SendMessage(hwndTree, TVM_SELECTITEM, TVGN_CARET, (LPARAM)hItem);
- for (int j = 0; j < _countof(o_pages[0].uIds) && o_pages[i].uIds[j] != 0; j++)
- Utils::showDlgControl(hwndDlg, o_pages[i].uIds[j], SW_HIDE);
ShowPage(hwndDlg, i, FALSE);
}
Window_SetSkinIcon_IcoLib(hwndDlg, SKINICON_EVENT_MESSAGE);