summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/options_ei.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-22 16:20:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-22 16:20:05 +0000
commitf98e2216f98a31dbb0f77b97249aaaee75b345ed (patch)
treefa1033da7ca1b02a5238c958cfa6fb5da22ef2c4 /src/modules/extraicons/options_ei.cpp
parent87cbc0b769f26286166201018c9e0e357c5caa66 (diff)
massive garbage removal from extra icons module
git-svn-id: http://svn.miranda-ng.org/main/trunk@7340 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons/options_ei.cpp')
-rw-r--r--src/modules/extraicons/options_ei.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/extraicons/options_ei.cpp b/src/modules/extraicons/options_ei.cpp
index e5893ecc9c..a7ce5cb64e 100644
--- a/src/modules/extraicons/options_ei.cpp
+++ b/src/modules/extraicons/options_ei.cpp
@@ -571,7 +571,8 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
if (oldSlots[((BaseExtraIcon *) extra)->getID() - 1] == extra->getSlot())
continue;
- extra->applyIcons();
+ if (extra->isEnabled())
+ extra->applyIcons();
}
delete[] oldSlots;