Resolved bug affecting the negative spot pickers

This commit is contained in:
Dániel Battyányi
2023-07-18 18:36:54 +02:00
parent 2fd18f0284
commit 0ab53c39d1
2 changed files with 2 additions and 4 deletions

View File

@@ -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();
inline Gtk::TreeModel::iterator get_active()
inline bool get_active()
{
return _spotSizeSetter->get_active();
return _spotButton->get_active();
}
void set_active(bool b)
{