Version number was not correctly saved

This commit is contained in:
Alessandro Ranellucci 2013-11-18 18:48:06 +01:00
parent 754e6ac74b
commit b1ca0f30f2

View File

@ -89,7 +89,7 @@ sub OnInit {
$last_version = $Settings->{_}{version}; $last_version = $Settings->{_}{version};
$Settings->{_}{mode} ||= 'expert'; $Settings->{_}{mode} ||= 'expert';
} }
$Settings->{_}{version} ||= $Slic3r::VERSION; $Settings->{_}{version} = $Slic3r::VERSION;
Slic3r::GUI->save_settings; Slic3r::GUI->save_settings;
# application frame # application frame