Unselect selection when clicking 'nothing'.

--HG--
branch : dfighter-tools
This commit is contained in:
dfighter1985 2014-10-10 17:33:57 +02:00
parent a1e2c5667a
commit 8cec8de3a0

View file

@ -2475,6 +2475,11 @@ namespace NLGUI
// handle the capture // handle the capture
_CapturedView->handleEvent( evnt ); _CapturedView->handleEvent( evnt );
} }
else
{
if( CInterfaceElement::getEditorMode() )
setCurrentEditorSelection( "" );
}
} }
// Manage RightClick // Manage RightClick