mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Extended "get_value" to Choice & TextCtrl fields.
Extended "change_opt_value".
This commit is contained in:
parent
59432d50ff
commit
129bd898cd
5 changed files with 93 additions and 40 deletions
|
@ -231,7 +231,9 @@ void ConfigOptionsGroup::on_change_OG(t_config_option_key opt_id, boost::any val
|
|||
}
|
||||
else {
|
||||
if (opt_index == -1) {
|
||||
change_opt_value(*m_config, opt_key, field_value);
|
||||
// change_opt_value(*m_config, opt_key, field_value);
|
||||
//!? why field_value?? in this case changed value will be lose! No?
|
||||
change_opt_value(*m_config, opt_key, value);
|
||||
}
|
||||
else {
|
||||
// auto value = m_config->get($opt_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue