diff options
| author | George Hazan <ghazan@miranda.im> | 2021-04-10 18:46:49 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2021-04-10 18:46:49 +0300 | 
| commit | 51c57792d3b6754ea1d90f5a68b2eabc521c0722 (patch) | |
| tree | b834939295d25a9bc58fb7389f5cf3108b83bc34 /plugins/Import/src | |
| parent | 763bd3d2dd14c13861f7c48ed142909ef0bc89ab (diff) | |
fixes #2839 (Импорт: окно мастера переодически теряет фокус клавиатуры)
Diffstat (limited to 'plugins/Import/src')
| -rw-r--r-- | plugins/Import/src/miranda.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Import/src/miranda.cpp b/plugins/Import/src/miranda.cpp index 887a396984..c20df10866 100644 --- a/plugins/Import/src/miranda.cpp +++ b/plugins/Import/src/miranda.cpp @@ -47,12 +47,13 @@ bool CMirandaPageDlg::OnInitDialog()  	int iType = 1;
  	for (auto& it : g_plugin.m_patterns)
  		m_cmbFileType.AddString(it->wszName, iType++);
 +	m_cmbFileType.SetCurSel(0);
  	btnPath.Hide();
  	m_list.Disable();
  	SendMessage(m_hwndParent, WIZM_DISABLEBUTTON, 1, 0);
 -	m_cmbFileType.SetCurSel(0);
 +	SetFocus(m_cmbFileType.GetHwnd());
  	return true;
  }
  | 
