From cc36aff66a10548db2313a493ad7d4107b043336 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 25 Dec 2014 18:18:41 +0100 Subject: [PATCH] Fix MainFrame after recent changes in preset handling --- lib/Slic3r/GUI/MainFrame.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/MainFrame.pm b/lib/Slic3r/GUI/MainFrame.pm index 2d92f2c52..31b9ff0a3 100644 --- a/lib/Slic3r/GUI/MainFrame.pm +++ b/lib/Slic3r/GUI/MainFrame.pm @@ -435,7 +435,7 @@ sub extra_variables { my %extra_variables = (); if ($self->{mode} eq 'expert') { - $extra_variables{"${_}_preset"} = $self->{options_tabs}{$_}->current_preset->{name} + $extra_variables{"${_}_preset"} = $self->{options_tabs}{$_}->get_current_preset->name for qw(print filament printer); } return { %extra_variables };