Resolved bug affecting the negative spot pickers
This commit is contained in:
@@ -262,8 +262,6 @@ FilmNegative::FilmNegative() :
|
|||||||
|
|
||||||
pack_start(*refPicker, Gtk::PACK_SHRINK, 0);
|
pack_start(*refPicker, Gtk::PACK_SHRINK, 0);
|
||||||
|
|
||||||
//BUG: After selecting a spot for the first time after the button is toggled, picking is still possible, while the button is NOT toggled. After picking for the second time picking is only possible after retoggleing the button
|
|
||||||
|
|
||||||
picker->_spotButton->signal_toggled().connect(sigc::mem_fun(*this, &FilmNegative::editToggled));
|
picker->_spotButton->signal_toggled().connect(sigc::mem_fun(*this, &FilmNegative::editToggled));
|
||||||
|
|
||||||
refPicker->_spotButton->signal_toggled().connect(sigc::mem_fun(*this, &FilmNegative::refSpotToggled));
|
refPicker->_spotButton->signal_toggled().connect(sigc::mem_fun(*this, &FilmNegative::refSpotToggled));
|
||||||
|
@@ -702,9 +702,9 @@ class SpotPicker : public Gtk::Grid
|
|||||||
|
|
||||||
SpotPicker(int const defaultValue, Glib::ustring const &buttonKey, Glib::ustring const &buttonTooltip, Glib::ustring const &labelKey);
|
SpotPicker(int const defaultValue, Glib::ustring const &buttonKey, Glib::ustring const &buttonTooltip, Glib::ustring const &labelKey);
|
||||||
~SpotPicker();
|
~SpotPicker();
|
||||||
inline Gtk::TreeModel::iterator get_active()
|
inline bool get_active()
|
||||||
{
|
{
|
||||||
return _spotSizeSetter->get_active();
|
return _spotButton->get_active();
|
||||||
}
|
}
|
||||||
void set_active(bool b)
|
void set_active(bool b)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user