diff --git a/markaspaid.py b/markaspaid.py index 991bd91..3882640 100755 --- a/markaspaid.py +++ b/markaspaid.py @@ -68,6 +68,8 @@ class Window(Gtk.Window): def on_entry_activate(self, widget): results = self.api('GET', '/api/v1/organizers/%(organizer)s/checkinrpc/search/', ignore_status='true', list=self.config['list'], search=widget.get_text()) + widget.set_text('') + if results['count'] == 0: self.info('Keine Ergebnisse', 'Bitte präzisiere deine Eingabe.') return