Make search window activate always response ok
This commit is contained in:
1 parent
508b883720
commit
2c49d28893
1 file changed
+2
-4
@@ -84,10 +84,8 @@ class WinSearch(NoModal):
|
||||
|
||||
def sig_activate(self, *args):
|
||||
self.view.widget_tree.emit_stop_by_name('row_activated')
|
||||
if not self.sel_multi:
|
||||
self.win.response(gtk.RESPONSE_OK)
|
||||
return True
|
||||
return False
|
||||
self.win.response(gtk.RESPONSE_OK)
|
||||
return True
|
||||
|
||||
def destroy(self):
|
||||
self.screen.destroy()
|
||||
|
||||
Reference in new issue
Block a user