From c8ddf5aac6c89fbb4c072fc0fa87d8761911df56 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 7 Aug 2020 14:13:49 +0800 Subject: [PATCH] bugfix --- kivyblocks/form.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kivyblocks/form.py b/kivyblocks/form.py index 1b6da28..f0a9555 100644 --- a/kivyblocks/form.py +++ b/kivyblocks/form.py @@ -346,14 +346,7 @@ class StrSearchForm(BoxLayout): size_hint_y=None, height=CSize(3)) self.add_widget(self.input_widget) - imgsrc = img_url if img_url else blockImage('search.png') - self.search = PressableImage(source=imgsrc, - size_hint=(None,None), - size=CSize(3,3) - ) - self.add_widget(self.search) self.register_event_type('on_submit') - self.search.bind(on_press=self.submit_input) self.input_widget.bind(on_text_validate=self.submit_input) def getData(self):