diff options
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r-- | plugins/DbEditorPP/src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index 74dd0b2574..ebdd85920b 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -143,6 +143,8 @@ static int OnTTBLoaded(WPARAM wParam, LPARAM lParam) int ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
+ addIcons();
+
// Register menu item
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 1900000001;
@@ -200,6 +202,7 @@ int PreShutdown(WPARAM wParam, LPARAM lParam) INT_PTR ServiceMode(WPARAM wParam, LPARAM lParam)
{
+ addIcons();
bServiceMode = TRUE;
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DBSettingChanged);
@@ -217,9 +220,6 @@ extern "C" __declspec(dllexport) int Load(void) {
mir_getLP(&pluginInfoEx);
- // icons
- addIcons();
-
hwnd2mainWindow = hwnd2watchedVarsWindow = hwnd2importWindow = 0;
hRestore = NULL;
g_db = GetCurrentDatabase();
|