From 8e3e4afcaf9f1dd4a9ace5deeaaef90d8f1efbb6 Mon Sep 17 00:00:00 2001 From: Morgan Hardwood Date: Mon, 31 Dec 2018 16:40:31 +0100 Subject: [PATCH] Select+focus thumbnail in Filmstrip, closes #5125 When passing a photo as an argument to the RawTherapee executable, the user wants this auto-loaded photo's thumbnail to be selected and visible in the Filmstrip. --- rtgui/editorpanel.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtgui/editorpanel.cc b/rtgui/editorpanel.cc index f44e682f2..fc19f7f27 100644 --- a/rtgui/editorpanel.cc +++ b/rtgui/editorpanel.cc @@ -1083,6 +1083,10 @@ void EditorPanel::open (Thumbnail* tmb, rtengine::InitialImage* isrc) history->resetSnapShotNumber(); navigator->setInvalid(ipc->getFullWidth(),ipc->getFullHeight()); + + // When passing a photo as an argument to the RawTherapee executable, the user wants + // this auto-loaded photo's thumbnail to be selected and visible in the Filmstrip. + EditorPanel::syncFileBrowser(); } void EditorPanel::close ()