diff --git a/src/program/OutfitStudio.cpp b/src/program/OutfitStudio.cpp index 419be220..90608fd9 100644 --- a/src/program/OutfitStudio.cpp +++ b/src/program/OutfitStudio.cpp @@ -5559,7 +5559,8 @@ void OutfitStudioFrame::OnEnterClose(wxKeyEvent& event) { parent->Close(); parent->SetReturnCode(wxID_OK); } - event.Skip(); + else + event.Skip(); } void OutfitStudioFrame::OnMoveShape(wxCommandEvent& WXUNUSED(event)) {