Merge pull request #328 from vkbo/replace_bugfix
Fixed bug in search replace
This commit is contained in:
+1
-1
@@ -1237,10 +1237,10 @@ class GuiDocEditor(QTextEdit):
|
||||
self._beginSearch()
|
||||
return
|
||||
|
||||
theCursor = self.textCursor()
|
||||
if not theCursor.hasSelection():
|
||||
return
|
||||
|
||||
theCursor = self.textCursor()
|
||||
searchFor = self.docSearch.getSearchText()
|
||||
replWith = self.docSearch.getReplaceText()
|
||||
selText = theCursor.selectedText()
|
||||
|
||||
Reference in New Issue
Block a user