From 17ae5b8facf8f754c1d6b4855f273d9736891b73 Mon Sep 17 00:00:00 2001 From: informatorius Date: Thu, 10 May 2018 16:08:25 +0200 Subject: [PATCH] Issue#1181 fix again for 7.5.0 https://github.com/FoldingAtHome/fah-issues/issues/1181 The additional select call in code must only be called initially when the selected slot changed - not always on update ui. --- fah/ClientConfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fah/ClientConfig.py b/fah/ClientConfig.py index ffef16c..8f593eb 100644 --- a/fah/ClientConfig.py +++ b/fah/ClientConfig.py @@ -432,13 +432,14 @@ class ClientConfig: # Selected the first item if nothing is selected if selected_row is None: selected_row = app.slot_status_list.get_iter_first() + app.slot_status_tree.get_selection().select_iter(selected_row) + self.select_slot(app) if log_filter_row is None: log_filter_row = app.slot_status_list.get_iter_first() # Restore selections if selected_row is not None: app.slot_status_tree.get_selection().select_iter(selected_row) - self.select_slot(app) if log_filter_row is not None: app.log_slot.set_active_iter(log_filter_row)