mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Several improvements to the print job queue
This commit is contained in:
parent
9b21ac877a
commit
fc1a7471cf
13 changed files with 174 additions and 65 deletions
|
@ -254,8 +254,13 @@ sub set_values {
|
|||
|
||||
$self->disable_change_event(1);
|
||||
|
||||
$self->wxWindow->Clear;
|
||||
$self->wxWindow->Append($_) for @$values;
|
||||
# it looks that Clear() also clears the text field in recent wxWidgets versions,
|
||||
# but we want to preserve it
|
||||
my $ww = $self->wxWindow;
|
||||
my $value = $ww->GetValue;
|
||||
$ww->Clear;
|
||||
$ww->Append($_) for @$values;
|
||||
$ww->SetValue($value);
|
||||
|
||||
$self->disable_change_event(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue