mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 19:13:47 +00:00
Merge branch 'development' into EngineAPI-Refactor
This commit is contained in:
commit
3a71c75596
1937 changed files with 102332 additions and 70549 deletions
|
|
@ -1530,9 +1530,9 @@ void GuiCanvas::popDialogControl(GuiControl *gui)
|
|||
|
||||
if (size() > 0)
|
||||
{
|
||||
GuiControl *ctrl = static_cast<GuiControl *>(last());
|
||||
if( ctrl->getFirstResponder() )
|
||||
ctrl->getFirstResponder()->setFirstResponder();
|
||||
GuiControl *lastCtrl = static_cast<GuiControl *>(last());
|
||||
if(lastCtrl->getFirstResponder() )
|
||||
lastCtrl->getFirstResponder()->setFirstResponder();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1547,8 +1547,8 @@ void GuiCanvas::popDialogControl(GuiControl *gui)
|
|||
|
||||
if (size() > 0)
|
||||
{
|
||||
GuiControl *ctrl = static_cast<GuiControl*>(last());
|
||||
ctrl->buildAcceleratorMap();
|
||||
GuiControl *lastCtrl = static_cast<GuiControl*>(last());
|
||||
lastCtrl->buildAcceleratorMap();
|
||||
}
|
||||
refreshMouseControl();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue