Ticket #1317: AtlasUI-Stop-Stealing-Focus(1317).patch

File AtlasUI-Stop-Stealing-Focus(1317).patch, 638 bytes (added by Mitchell K, 12 years ago)
  • source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp

     
    215215        // e.g. brush-editing controls normally, and then move the mouse to
    216216        // see the brush outline and magically get given back full control
    217217        // of the camera.
    218         if (evt.Moving())
     218        if (evt.Moving() && wxWindow::FindFocus())
    219219            SetFocus();
    220220
    221221        if (m_ScenarioEditor.GetToolManager().GetCurrentTool()->OnMouse(evt))