#1181 inconsistent hilighting in inital screen of FAHControl

On selecting a slot programmatically the same code like selecting it manually by user must be called to also select the corresponding queue item.
This commit is contained in:
informatorius 2018-05-08 16:13:15 +02:00 committed by GitHub
parent 31840b65c2
commit 6fc83b37c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,7 @@ class ClientConfig:
# Restore selections # Restore selections
if selected_row is not None: if selected_row is not None:
app.slot_status_tree.get_selection().select_iter(selected_row) app.slot_status_tree.get_selection().select_iter(selected_row)
self.select_slot(app)
if log_filter_row is not None: if log_filter_row is not None:
app.log_slot.set_active_iter(log_filter_row) app.log_slot.set_active_iter(log_filter_row)