Changed events action from ALL to FIRST , this way the histogram is updated after enabling/disabling or moving the adjusters.

This commit is contained in:
rom9
2019-06-11 20:26:13 +02:00
parent e1c9197ed5
commit 2bbf8bd864

View File

@@ -53,8 +53,8 @@ FilmNegative::FilmNegative () : FoldableToolPanel(this, "filmnegative", M("TP_FI
blueRatio = blueExp->getValue() / greenExp->getValue();
auto m = ProcEventMapper::getInstance();
EvFilmNegativeEnabled = m->newEvent(ALL, "HISTORY_MSG_FILMNEGATIVE_ENABLED");
EvFilmNegativeExponents = m->newEvent(ALL, "HISTORY_MSG_FILMNEGATIVE_EXPONENTS");
EvFilmNegativeEnabled = m->newEvent(FIRST, "HISTORY_MSG_FILMNEGATIVE_ENABLED");
EvFilmNegativeExponents = m->newEvent(FIRST, "HISTORY_MSG_FILMNEGATIVE_EXPONENTS");
spotgrid = Gtk::manage(new Gtk::Grid());