summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/database/profilemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp
index b7e0d5ee7e..0546d0a286 100644
--- a/src/modules/database/profilemanager.cpp
+++ b/src/modules/database/profilemanager.cpp
@@ -383,7 +383,7 @@ class CChooseProfileDlg : public CDlgBase
_tcsncpy_s(m_pd->ptszProfile, MAX_PATH, tmpPath, _TRUNCATE);
if (uMsg == NM_DBLCLK)
- EndDialog(GetParent(m_hwnd), 1);
+ EndDialog(GetParent(m_hwndParent), 1);
}
void ExecuteMenu(LPARAM lParam)
@@ -426,7 +426,7 @@ class CChooseProfileDlg : public CDlgBase
int index = TrackPopupMenu(hMenu, TPM_RETURNCMD, lvht.pt.x, lvht.pt.y, 0, m_hwnd, NULL);
switch (index) {
case 1:
- SendMessage(GetParent(m_hwnd), WM_COMMAND, IDOK, 0);
+ SendMessage(GetParent(m_hwndParent), WM_COMMAND, IDOK, 0);
break;
case 2: