Fix for #11636 - Rotation arrows missing Prusa Slice 2.7.0 Alpha 1 and Beta 1

This commit is contained in:
YuSanka 2023-11-13 16:04:03 +01:00
parent 4f18b6d0c1
commit 911de7b2b1

View File

@ -1266,14 +1266,14 @@ ManipulationEditor::ManipulationEditor(ObjectManipulation* parent,
e.Skip(); e.Skip();
}, this->GetId()); }, this->GetId());
this->Bind(wxEVT_SET_FOCUS, [this, parent](wxFocusEvent& e) this->GetTextCtrl()->Bind(wxEVT_SET_FOCUS, [this, parent](wxFocusEvent& e)
{ {
parent->set_focused_editor(this); parent->set_focused_editor(this);
// needed to show the visual hints in 3D scene // needed to show the visual hints in 3D scene
wxGetApp().plater()->canvas3D()->handle_sidebar_focus_event(m_full_opt_name, true); wxGetApp().plater()->canvas3D()->handle_sidebar_focus_event(m_full_opt_name, true);
e.Skip(); e.Skip();
}, this->GetId()); });
this->Bind(wxEVT_CHAR, ([this](wxKeyEvent& event) this->Bind(wxEVT_CHAR, ([this](wxKeyEvent& event)
{ {