Allow selection of CGroupEditBox.

--HG--
branch : dfighter-tools
This commit is contained in:
dfighter1985 2014-10-16 20:29:36 +02:00
parent 42ebad94f6
commit 274efe6798

View file

@ -1336,6 +1336,11 @@ namespace NLGUI
// if click, and not frozen, then get the focus // if click, and not frozen, then get the focus
if (eventDesc.getEventTypeExtended() == NLGUI::CEventDescriptorMouse::mouseleftdown && !_Frozen) if (eventDesc.getEventTypeExtended() == NLGUI::CEventDescriptorMouse::mouseleftdown && !_Frozen)
{ {
if( getEditorMode() )
{
return CViewBase::handleEvent( event );
}
_SelectingText = true; _SelectingText = true;
stopParentBlink(); stopParentBlink();
CWidgetManager::getInstance()->setCaptureKeyboard (this); CWidgetManager::getInstance()->setCaptureKeyboard (this);