diff options
Diffstat (limited to 'tdefilereplace/tdefilereplacepart.cpp')
-rw-r--r-- | tdefilereplace/tdefilereplacepart.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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() |