From a0f8078ee11509df5489f0afa7206d2a01b9b065 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Sat, 30 Jun 2012 22:34:13 +0200 Subject: [PATCH] Warn on dirty default presets as well --- lib/Slic3r/GUI/Tab.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm index 2633097b5..77477bbbf 100644 --- a/lib/Slic3r/GUI/Tab.pm +++ b/lib/Slic3r/GUI/Tab.pm @@ -197,7 +197,7 @@ sub set_dirty { sub is_dirty { my $self = shift; - return $self->{dirty}; + return (defined $self->{dirty}); } sub title {