mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fixes for Windows
This commit is contained in:
parent
8d465aca34
commit
ac59297e39
4 changed files with 5 additions and 5 deletions
|
@ -183,12 +183,14 @@ sub set_dirty {
|
|||
$self->{btn_save_preset}->Enable;
|
||||
if ($text !~ / \(modified\)$/) {
|
||||
$self->{presets_choice}->SetString($i, "$text (modified)");
|
||||
$self->{presets_choice}->SetSelection($i); # wxMSW needs this after every SetString()
|
||||
}
|
||||
} else {
|
||||
$self->{dirty} = undef;
|
||||
$self->{btn_save_preset}->Disable;
|
||||
$text =~ s/ \(modified\)$//;
|
||||
$self->{presets_choice}->SetString($i, $text);
|
||||
$self->{presets_choice}->SetSelection($i); # wxMSW needs this after every SetString()
|
||||
}
|
||||
$self->sync_presets;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue