mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Don't load empty searches
This commit is contained in:
parent
7ad1d55241
commit
9eec1c7c44
@ -371,7 +371,7 @@ class Controller(object):
|
||||
""" Searches words or users in twitter. This creates a new buffer containing the search results."""
|
||||
log.debug("Creating a new search...")
|
||||
dlg = dialogs.search.searchDialog(value)
|
||||
if dlg.get_response() == widgetUtils.OK:
|
||||
if dlg.get_response() == widgetUtils.OK and dlg.get_text() != "":
|
||||
term = dlg.get("term")
|
||||
buffer = self.get_best_buffer()
|
||||
if dlg.get("tweets") == True:
|
||||
|
Loading…
Reference in New Issue
Block a user