summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-11 11:04:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-11 11:04:09 +0300
commit3d756278c4ff1332193ea16c41e4ce4a1a2ff298 (patch)
tree7996572e5ed314961c398a5098d5147e9eba2c5e
parent13c7eccb6472c3c47c9c3dff582df9552938fe0e (diff)
fixes #2839 completely
-rw-r--r--plugins/Import/src/miranda.cpp2
-rw-r--r--plugins/Import/src/wizard.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Import/src/miranda.cpp b/plugins/Import/src/miranda.cpp
index c20df10866..3209f7ec24 100644
--- a/plugins/Import/src/miranda.cpp
+++ b/plugins/Import/src/miranda.cpp
@@ -52,8 +52,6 @@ bool CMirandaPageDlg::OnInitDialog()
btnPath.Hide();
m_list.Disable();
SendMessage(m_hwndParent, WIZM_DISABLEBUTTON, 1, 0);
-
- SetFocus(m_cmbFileType.GetHwnd());
return true;
}
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp
index ebc3316193..9693717214 100644
--- a/plugins/Import/src/wizard.cpp
+++ b/plugins/Import/src/wizard.cpp
@@ -181,6 +181,7 @@ public:
SetWindowPos(hwndPage, nullptr, 0, 0, m_splitterX, m_splitterY, SWP_NOZORDER);
if (bFirstLaunch)
ShowWindow(m_hwnd, SW_SHOW);
+ SetFocus(hwndPage);
break;
case WIZM_DISABLEBUTTON: