Widget focus at window change

This commit is contained in:
Markus Gans 2016-07-27 23:47:12 +02:00
parent a91d0566fc
commit 95f1bdc23a
1 changed files with 1 additions and 1 deletions

View File

@ -1564,7 +1564,7 @@ bool FWidget::setFocus (bool on)
if ( has_raised && window->isVisible() && window->isShown() )
window->redraw();
}
window->setFocusWidget(this);
window->setWindowFocusWidget(this);
}
return focus = (on) ? true : false;