From 9a1dc1a35e0aab8ece8e5ca90e1b0830102157b0 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 25 Mar 2017 14:03:00 +0100 Subject: [PATCH] Typos --- lib/Slic3r/GUI/Controller/ManualControlDialog.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/GUI/Controller/ManualControlDialog.pm b/lib/Slic3r/GUI/Controller/ManualControlDialog.pm index 9d2fb5cc62..424ca3d733 100644 --- a/lib/Slic3r/GUI/Controller/ManualControlDialog.pm +++ b/lib/Slic3r/GUI/Controller/ManualControlDialog.pm @@ -206,8 +206,8 @@ sub new { $cmd_sizer->Add($btn, 0, wxEXPAND | wxLEFT, 5); my $do_send = sub { - my $cmd = $cmd_textctro->GetValue; - return if cmd eq ''; + my $cmd = $cmd_textctrl->GetValue; + return if $cmd eq ''; $self->GetParent->append_to_log(">> $cmd\n"); $self->sender->send($cmd, 1); $cmd_textctrl->SetValue('');