From df97a86dbcf5a1f2a860ed485606bcee98aeda99 Mon Sep 17 00:00:00 2001 From: Thomas Wilshaw Date: Tue, 5 May 2020 22:32:11 +0100 Subject: [PATCH] Fix first usable stream being selected Footage Properties should always select the first usable stream. Commit 1fa3f4e didn't quite fix this with all footage. This should. --- app/dialog/footageproperties/footageproperties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialog/footageproperties/footageproperties.cpp b/app/dialog/footageproperties/footageproperties.cpp index 3fe507906..484127021 100644 --- a/app/dialog/footageproperties/footageproperties.cpp +++ b/app/dialog/footageproperties/footageproperties.cpp @@ -109,7 +109,7 @@ FootagePropertiesDialog::FootagePropertiesDialog(QWidget *parent, Footage *foota // Auto-select first item that actually has properties if (first_usable_stream >= 0) { - track_list->item(first_usable_stream)->setSelected(true); + track_list->setCurrentRow(first_usable_stream); } track_list->setFocus(); }