Bug fix in FDialog onWindowActive() for combined setFocus() and activateWindow()
This commit is contained in:
parent
07fbe91cea
commit
203c50f4e6
|
@ -1,5 +1,7 @@
|
|||
2016-06-16 Markus Gans <guru.mail@muenster.de>
|
||||
* Bug fix in FTerm updateVTerm() for updates from vdesktop
|
||||
* Bug fix in FDialog onWindowActive() for combined setFocus()
|
||||
and activateWindow()
|
||||
|
||||
2016-06-13 Markus Gans <guru.mail@muenster.de>
|
||||
* Improved title bar menu integration
|
||||
|
|
|
@ -724,6 +724,8 @@ void FDialog::onWindowActive (FEvent*)
|
|||
if ( isVisible() && isShown() )
|
||||
drawTitleBar();
|
||||
|
||||
if ( ! FWidget::getFocusWidget() )
|
||||
{
|
||||
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
||||
{
|
||||
focus_widget->setFocus();
|
||||
|
@ -733,6 +735,7 @@ void FDialog::onWindowActive (FEvent*)
|
|||
}
|
||||
else
|
||||
focusFirstChild();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue