Commit 32b7b9db authored by Philipp Hörist's avatar Philipp Hörist

StartChat: Select account on double click

parent 2013e4d2
......@@ -315,6 +315,7 @@
<property name="headers_visible">False</property>
<property name="enable_search">False</property>
<property name="show_expanders">False</property>
<signal name="row-activated" handler="_on_select_clicked" swapped="no"/>
<child internal-child="selection">
<object class="GtkTreeSelection"/>
</child>
......
......@@ -310,7 +310,7 @@ class StartChatDialog(Gtk.ApplicationWindow):
def _on_back_clicked(self, _button=None):
self._ui.stack.set_visible_child_name('search')
def _on_select_clicked(self, _button=None):
def _on_select_clicked(self, *args):
model, iter_ = self._ui.account_view.get_selection().get_selected()
if iter_ is not None:
account = model[iter_][1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment