1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-23 10:04:26 +00:00

Fix application shutdown on incompatible profile exit

This commit is contained in:
Vojtech Kral
2018-07-24 10:50:03 +02:00
parent 2df6e08eed
commit dfb70ec6e6
+1 -1
View File
@@ -141,7 +141,7 @@ sub OnInit {
$self->CallAfter(sub { $self->CallAfter(sub {
eval { eval {
if (! $self->{preset_updater}->config_update()) { if (! $self->{preset_updater}->config_update()) {
exit 0; $self->{mainframe}->Close;
} }
}; };
if ($@) { if ($@) {