Several improvements to the print job queue

This commit is contained in:
Alessandro Ranellucci committed 2015-11-02 01:18:05 +01:00
1 parent 9b21ac877a
commit fc1a7471cf
13 files changed
+174 -65

No files matched your search

+7 -2
View File
@@ -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);
}