From e2b2e369f87bad80f04e747e4b0a4213960c83c1 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Wed, 8 Aug 2012 21:45:17 +0200 Subject: [PATCH] Disable using ENTER key for accessing "Export G-code..." button. --- lib/Slic3r/GUI/Plater.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index f72789a811..8d3dfb122f 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -99,7 +99,6 @@ sub new { $self->{btn_reset} = Wx::Button->new($self, -1, "Delete All", wxDefaultPosition, wxDefaultSize, wxBU_LEFT); $self->{btn_arrange} = Wx::Button->new($self, -1, "Autoarrange", wxDefaultPosition, wxDefaultSize, wxBU_LEFT); $self->{btn_export_gcode} = Wx::Button->new($self, -1, "Export G-code…", wxDefaultPosition, wxDefaultSize, wxBU_LEFT); - $self->{btn_export_gcode}->SetDefault; $self->{btn_export_stl} = Wx::Button->new($self, -1, "Export STL…", wxDefaultPosition, wxDefaultSize, wxBU_LEFT); if (&Wx::wxVERSION_STRING =~ / 2\.9\.[1-9]/) {