Allow selection of CGroupEditBox.

This commit is contained in:
dfighter1985 2014-10-16 20:29:36 +02:00
parent 2e06c88f71
commit 28d2b27ac6

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);