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(); loadBackupExtensionOptions();
loadLocationsList(); loadLocationsList();
loadFiltersList(); loadFiltersList();
m_leSearch->setFocus();
} }
void KNewProjectDlg::loadOptions() void KNewProjectDlg::loadOptions()

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

Loading…
Cancel
Save