This commit is contained in:
Alessandro Ranellucci 2017-03-25 14:03:00 +01:00 committed by GitHub
parent d77469c658
commit 9a1dc1a35e

View File

@ -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('');