Improvement to widget focus in TDEFileReplace and warning message clean up

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 10 years ago
parent 11f19f36b6
commit 92bb53cb48

@ -220,6 +220,8 @@ void KNewProjectDlg::initGUI()
loadBackupExtensionOptions();
loadLocationsList();
loadFiltersList();
m_leSearch->setFocus();
}
void KNewProjectDlg::loadOptions()

@ -309,13 +309,14 @@ void TDEFileReplacePart::slotQuickStringsAdd()
m_view->slotQuickStringsAdd(map[1],map[3]);
//if search-only mode == true and search-now mode == true then
//search string
if(map[0] == "N")
if(m_option->m_searchingOnlyMode)
//if search-only mode == true and search-now mode == true then search string
if (map[0] == "N")
{
if (m_option->m_searchingOnlyMode)
slotSearchingOperation();
else
slotReplacingOperation();
}
}
void TDEFileReplacePart::slotStringsDeleteItem()

Loading…
Cancel
Save