Fix for #2519 - Takes focus away from input box when moving cursor to plater
Take focus away only, if ObjectList was focused, when mouse cursor is moved to 3d-Scene
This commit is contained in:
parent
9e65fc1cac
commit
656a1d262a
3 changed files with 9 additions and 43 deletions
src/slic3r/GUI
|
@ -1442,12 +1442,7 @@ ManipulationEditor::ManipulationEditor(ObjectManipulation* parent,
|
|||
{
|
||||
parent->set_focused_editor(nullptr);
|
||||
|
||||
#if ENABLE_OBJECT_MANIPULATOR_FOCUS
|
||||
// if the widgets loosing focus is a manipulator field, call kill_focus
|
||||
if (dynamic_cast<ManipulationEditor*>(e.GetEventObject()) != nullptr)
|
||||
#else
|
||||
if (!m_enter_pressed)
|
||||
#endif // ENABLE_OBJECT_MANIPULATOR_FOCUS
|
||||
kill_focus(parent);
|
||||
|
||||
e.Skip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue