summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-08-12 20:36:33 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-08-12 20:36:33 +0000
commit5d55c351109d18bb46b97c7e6142f6f321595849 (patch)
treee0423a19189dadc6ca8b5b72dd881aa97a2c1ea7 /plugins/DbEditorPP
parent2e2390295cbf3f8f24a938bf957d3ecd5b86d3a6 (diff)
icons registration moved to Load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@10173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r--plugins/DbEditorPP/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp
index 1245c39541..74dd0b2574 100644
--- a/plugins/DbEditorPP/src/main.cpp
+++ b/plugins/DbEditorPP/src/main.cpp
@@ -143,9 +143,6 @@ static int OnTTBLoaded(WPARAM wParam, LPARAM lParam)
int ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
- // icons
- addIcons();
-
// Register menu item
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 1900000001;
@@ -220,6 +217,9 @@ extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP(&pluginInfoEx);
+ // icons
+ addIcons();
+
hwnd2mainWindow = hwnd2watchedVarsWindow = hwnd2importWindow = 0;
hRestore = NULL;
g_db = GetCurrentDatabase();