mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
New --extrusion-width-ratio option. #8
This commit is contained in:
parent
465bef1748
commit
3c0ea0b57f
6 changed files with 38 additions and 15 deletions
|
@ -32,7 +32,7 @@ sub new {
|
|||
$size = Wx::Size->new($opt->{width} || -1, $opt->{height} || -1);
|
||||
}
|
||||
|
||||
$field = Wx::TextCtrl->new($parent, -1, Slic3r::Config->get($opt_key),
|
||||
$field = Wx::TextCtrl->new($parent, -1, Slic3r::Config->get($opt_key) || '',
|
||||
Wx::wxDefaultPosition, $size, $style);
|
||||
EVT_TEXT($parent, $field, sub { Slic3r::Config->set($opt_key, $field->GetValue) });
|
||||
push @reload_callbacks, sub { $field->SetValue(Slic3r::Config->get($opt_key)) };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue