Search box should select the text on open #645
This commit is contained in:
@@ -1988,6 +1988,7 @@ class GuiDocEditSearch(QFrame):
|
|||||||
if theText is not None:
|
if theText is not None:
|
||||||
self.searchBox.setText(theText)
|
self.searchBox.setText(theText)
|
||||||
self.searchBox.setFocus()
|
self.searchBox.setFocus()
|
||||||
|
self.searchBox.selectAll()
|
||||||
if self.isRegEx:
|
if self.isRegEx:
|
||||||
self._alertSearchValid(True)
|
self._alertSearchValid(True)
|
||||||
logger.verbose("Setting search text to '%s'" % theText)
|
logger.verbose("Setting search text to '%s'" % theText)
|
||||||
|
|||||||
Reference in New Issue
Block a user