summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-06-25 01:10:33 +0200
committerFlorent Le Coz <louiz@louiz.org>2013-06-25 01:10:33 +0200
commit1d9d085d158c03997c3e7536e8a4195cc799a762 (patch)
tree190453199e3d135d562af91acbd12eadd27811b2
parentf8c0d127509e1d0f41681cf151b56d41974cacad (diff)
downloadpoezio-1d9d085d158c03997c3e7536e8a4195cc799a762.tar.gz
poezio-1d9d085d158c03997c3e7536e8a4195cc799a762.tar.bz2
poezio-1d9d085d158c03997c3e7536e8a4195cc799a762.tar.xz
poezio-1d9d085d158c03997c3e7536e8a4195cc799a762.zip
Do not open a tab on Enter when searching in the roster
Often, we search people but don’t actually want to open a tab with them (maybe the users wants to talk to a specific resource, or see the contact’s status, or things like that) To open a tab to talk to this contact, the user just need to type Enter twice
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 639f4c77..5dd3fb14 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -3035,7 +3035,7 @@ class RosterInfoTab(Tab):
roster.contact_filter = None
self.reset_help_message()
roster.modified()
- return False
+ return True
def on_close(self):
return