From 5daeba9c43e1f16cf904b0986f12b60607c48bf9 Mon Sep 17 00:00:00 2001 From: Morgan Hardwood Date: Sat, 31 Mar 2018 15:59:18 +0200 Subject: [PATCH] Fixes #4463 Save As PNG combo Selection the last Save As file format combobox option, 16-bit PNG, would not trigger the correct panel-hiding event. --- rtgui/saveformatpanel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/saveformatpanel.cc b/rtgui/saveformatpanel.cc index fef05de23..19298f04b 100644 --- a/rtgui/saveformatpanel.cc +++ b/rtgui/saveformatpanel.cc @@ -176,7 +176,7 @@ void SaveFormatPanel::formatChanged () int act = format->get_active_row_number(); - if (act < 0 || act > 4) { + if (act < 0 || act > 5) { return; }