Skip to content
Snippets Groups Projects
Commit ef0e2fbe authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

make search button insensitive before we get the search form. Fixes #7631

parent d079272f
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,8 @@ class SearchWindow:
'add_contact_button', 'information_button'):
self.__dict__[name] = self.xml.get_object(name)
self.search_button.set_sensitive(False)
# displaying the window
self.xml.connect_signals(self)
self.window.show_all()
......@@ -152,6 +154,7 @@ class SearchWindow:
self.data_form_widget.show_all()
self.search_vbox.pack_start(self.data_form_widget, True, True, 0)
self.search_button.set_sensitive(True)
def on_result_treeview_cursor_changed(self, treeview):
if self.jid_column == -1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment