From e2c562d8062f0362f76ea36e7fbcaee87e5e7818 Mon Sep 17 00:00:00 2001 From: Desmis Date: Sat, 16 May 2020 12:39:37 +0200 Subject: [PATCH] Fixed Gtk critical in GUI excomp thanks to Pandagrapher --- rtgui/locallab.cc | 4 ++-- rtgui/locallabtools.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index 255260aa4..485bcd57f 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -201,8 +201,8 @@ Locallab::Locallab(): panel->pack_start(*toolpanel, false, false); // Add separator - Gtk::HSeparator* const separator2 = Gtk::manage(new Gtk::HSeparator()); - // panel->pack_start(*separator2, false, false); + // Gtk::HSeparator* const separator2 = Gtk::manage(new Gtk::HSeparator()); + // panel->pack_start(*separator2, false, false); // Add mask reset button to panel widget resetshowButton->signal_pressed().connect(sigc::mem_fun(*this, &Locallab::resetshowPressed)); diff --git a/rtgui/locallabtools.cc b/rtgui/locallabtools.cc index 519a2272d..98724d618 100644 --- a/rtgui/locallabtools.cc +++ b/rtgui/locallabtools.cc @@ -2361,7 +2361,7 @@ LocallabExposure::LocallabExposure(): pack_start(*structexp); pack_start(*blurexpde); ToolParamBlock* const toolBox = Gtk::manage(new ToolParamBlock()); - toolBox->pack_start(*expcomp); +// toolBox->pack_start(*expcomp); toolBox->pack_start(*black); toolBox->pack_start(*hlcompr); toolBox->pack_start(*hlcomprthresh);