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,6 +724,8 @@ void FDialog::onWindowActive (FEvent*)
|
||||||
if ( isVisible() && isShown() )
|
if ( isVisible() && isShown() )
|
||||||
drawTitleBar();
|
drawTitleBar();
|
||||||
|
|
||||||
|
if ( ! FWidget::getFocusWidget() )
|
||||||
|
{
|
||||||
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
||||||
{
|
{
|
||||||
focus_widget->setFocus();
|
focus_widget->setFocus();
|
||||||
|
@ -734,6 +736,7 @@ void FDialog::onWindowActive (FEvent*)
|
||||||
else
|
else
|
||||||
focusFirstChild();
|
focusFirstChild();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
void FDialog::onWindowInactive (FEvent*)
|
void FDialog::onWindowInactive (FEvent*)
|
||||||
|
|
Loading…
Reference in New Issue