diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-01-26 08:49:37 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-01-26 08:49:37 +0900 |
| commit | 92bb53cb48fb172f922e60ffccfcce3e3db26967 (patch) | |
| tree | fef22a29d58539af3263967a9a776b563ce00ef1 /tdefilereplace/tdefilereplacepart.cpp | |
| parent | 11f19f36b664e8755ff06f70ca12554e7a66acf6 (diff) | |
| download | tdewebdev-92bb53cb.tar.gz tdewebdev-92bb53cb.zip | |
Improvement to widget focus in TDEFileReplace and warning message clean up
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() |
