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>
|
2016-06-16 Markus Gans <guru.mail@muenster.de>
|
||||||
* Bug fix in FTerm updateVTerm() for updates from vdesktop
|
* 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>
|
2016-06-13 Markus Gans <guru.mail@muenster.de>
|
||||||
* Improved title bar menu integration
|
* Improved title bar menu integration
|
||||||
|
|
|
@ -724,15 +724,18 @@ void FDialog::onWindowActive (FEvent*)
|
||||||
if ( isVisible() && isShown() )
|
if ( isVisible() && isShown() )
|
||||||
drawTitleBar();
|
drawTitleBar();
|
||||||
|
|
||||||
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
if ( ! FWidget::getFocusWidget() )
|
||||||
{
|
{
|
||||||
focus_widget->setFocus();
|
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
||||||
focus_widget->redraw();
|
{
|
||||||
if ( statusBar() )
|
focus_widget->setFocus();
|
||||||
statusBar()->drawMessage();
|
focus_widget->redraw();
|
||||||
|
if ( statusBar() )
|
||||||
|
statusBar()->drawMessage();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
focusFirstChild();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
focusFirstChild();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue