Ticket #1317: AtlasUI-Stop-Stealing-Focus(1317).patch
File AtlasUI-Stop-Stealing-Focus(1317).patch, 638 bytes (added by , 12 years ago) |
---|
-
source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp
215 215 // e.g. brush-editing controls normally, and then move the mouse to 216 216 // see the brush outline and magically get given back full control 217 217 // of the camera. 218 if (evt.Moving() )218 if (evt.Moving() && wxWindow::FindFocus()) 219 219 SetFocus(); 220 220 221 221 if (m_ScenarioEditor.GetToolManager().GetCurrentTool()->OnMouse(evt))