Widget focus at window change
This commit is contained in:
parent
a91d0566fc
commit
95f1bdc23a
|
@ -1564,7 +1564,7 @@ bool FWidget::setFocus (bool on)
|
||||||
if ( has_raised && window->isVisible() && window->isShown() )
|
if ( has_raised && window->isVisible() && window->isShown() )
|
||||||
window->redraw();
|
window->redraw();
|
||||||
}
|
}
|
||||||
window->setFocusWidget(this);
|
window->setWindowFocusWidget(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return focus = (on) ? true : false;
|
return focus = (on) ? true : false;
|
||||||
|
|
Loading…
Reference in New Issue