whitebalance : fix bug in changing method, #5676
This commit is contained in:
parent
77be7605d8
commit
c7c1dec9cb
|
@ -897,7 +897,7 @@ int WhiteBalance::_setActiveMethod(Glib::ustring &label, Gtk::TreeModel::Childre
|
|||
|
||||
if (row[methodColumns.colLabel] == label) {
|
||||
method->set_active(iter);
|
||||
found = method->get_active_row_number();
|
||||
found = row[methodColumns.colId];
|
||||
}
|
||||
|
||||
if (found != -1) {
|
||||
|
|
Loading…
Reference in New Issue