Save language preset.

* Added global variable g_local_dir to get "localization" directory.
* Chage/Set language works correctly now.
* Probably, fixed work on Linux
This commit is contained in:
YuSanka 2018-02-12 08:57:32 +01:00
parent d18a200b0f
commit badeb2f64c
7 changed files with 60 additions and 38 deletions

View file

@ -150,7 +150,6 @@ sub OnInit {
sub recreate_GUI{
my ($self) = @_;
print "Inside recreate_GUI \n";
my $topwindow = $self->GetTopWindow();
$self->{mainframe} = my $frame = Slic3r::GUI::MainFrame->new(
# If set, the "Controller" tab for the control of the printer over serial line and the serial port settings are hidden.