Remove code to set position at end

Because it doesn't do anything when you select all the text.
This commit is contained in:
Vincent Vermeulen 2018-02-24 23:38:40 +01:00 committed by GitHub
parent 1707940be0
commit b5c2cb748e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -544,7 +544,6 @@ class pluginclass( object ):
# of the existing text, that's the most likely candidate anyhow
self.searchEntry.grab_focus()
if self.rememberFilter or not clear:
self.searchEntry.set_position(-1)
self.searchEntry.select_region( 0, -1 )
else:
self.searchEntry.set_text("")