remove useless assert

This commit is contained in:
Tim Felgentreff 2020-11-29 10:39:21 +01:00
parent 9765d18329
commit 379f2c90ce

View file

@ -382,7 +382,8 @@ namespace gcn
if (mFocusHandler == NULL)
{
//throw GCN_EXCEPTION("No focushandler set (did you add the widget to the gui?).");
assert(!"No focushandler set (did you add the widget to the gui?).");
// assert(!"No focushandler set (did you add the widget to the gui?).");
return;
}
if (!mEnabled || (mFocusHandler->getModalFocused() != NULL &&