diff options
author | bubnikv <bubnikv@gmail.com> | 2018-07-27 10:55:13 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-07-27 10:55:13 +0300 |
commit | 987fc4c6dfbbe1dc014f5c05548355c41eca61a0 (patch) | |
tree | 502c254db50c8f0633053755d7a9e53187f87ef7 /lib/Slic3r/GUI | |
parent | 5c1de9fdd55e8a7a39c1ecf208d438b9da4b7946 (diff) | |
parent | dd088ba0cc84cb3cb80c4152e388ec16feb85c67 (diff) |
Merge remote-tracking branch 'origin/backspace_to_delete_on_osx'
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r-- | lib/Slic3r/GUI/Plater.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 3bcf3b3e6..a5d5eaf53 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -313,6 +313,9 @@ sub new { my ($list, $event) = @_; if ($event->GetKeyCode == WXK_TAB) { $list->Navigate($event->ShiftDown ? &Wx::wxNavigateBackward : &Wx::wxNavigateForward); + } elsif ($event->GetKeyCode == WXK_DELETE || + ($event->GetKeyCode == WXK_BACK && &Wx::wxMAC) ) { + $self->remove; } else { $event->Skip; } |