Unselect selection when clicking 'nothing'.

This commit is contained in:
dfighter1985 2014-10-10 17:33:57 +02:00
parent bb309e0299
commit 490dcc951c

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