From cfd666f23e06dfaa2071b2d9801fcae47d9bc77b Mon Sep 17 00:00:00 2001 From: Morgan Hardwood Date: Mon, 26 Feb 2018 00:14:33 +0100 Subject: [PATCH] Clear Film Simulation combo when changing images When switching to the "next" image whose HaldCLUT does not exist, RT would show the previous image HaldCLUT's name in the "Film Simulation" combo, even though it is not being used. This patch by Hombre fixes it, and fixes #4388 --- rtgui/filmsimulation.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtgui/filmsimulation.cc b/rtgui/filmsimulation.cc index 89ab31748..ba8f6740b 100644 --- a/rtgui/filmsimulation.cc +++ b/rtgui/filmsimulation.cc @@ -425,6 +425,8 @@ void ClutComboBox::setSelectedClut( Glib::ustring filename ) if ( found ) { set_active( found ); + } else { + set_active(-1); } } }