From 92bb53cb48fb172f922e60ffccfcce3e3db26967 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 26 Jan 2015 08:49:37 +0900 Subject: Improvement to widget focus in TDEFileReplace and warning message clean up Signed-off-by: Michele Calgaro --- tdefilereplace/tdefilereplacepart.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tdefilereplace/tdefilereplacepart.cpp') diff --git a/tdefilereplace/tdefilereplacepart.cpp b/tdefilereplace/tdefilereplacepart.cpp index e0bb9f97..008198e5 100644 --- a/tdefilereplace/tdefilereplacepart.cpp +++ b/tdefilereplace/tdefilereplacepart.cpp @@ -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() -- cgit v1.2.3