summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: