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
|
||||
|
@ -8,7 +10,7 @@
|
|||
* Add a title bar menu to close dialogs
|
||||
|
||||
2016-05-24 Markus Gans <guru.mail@muenster.de>
|
||||
* Use nl_langinfo to determine the numeric thousands separator
|
||||
* Use nl_langinfo to determine the numeric thousands separator
|
||||
for Fstring::setFormatedNumber as default parameter
|
||||
|
||||
2016-05-22 Markus Gans <guru.mail@muenster.de>
|
||||
|
|
|
@ -724,15 +724,18 @@ void FDialog::onWindowActive (FEvent*)
|
|||
if ( isVisible() && isShown() )
|
||||
drawTitleBar();
|
||||
|
||||
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
||||
if ( ! FWidget::getFocusWidget() )
|
||||
{
|
||||
focus_widget->setFocus();
|
||||
focus_widget->redraw();
|
||||
if ( statusBar() )
|
||||
statusBar()->drawMessage();
|
||||
if ( focus_widget && focus_widget->isVisible() && focus_widget->isShown() )
|
||||
{
|
||||
focus_widget->setFocus();
|
||||
focus_widget->redraw();
|
||||
if ( statusBar() )
|
||||
statusBar()->drawMessage();
|
||||
}
|
||||
else
|
||||
focusFirstChild();
|
||||
}
|
||||
else
|
||||
focusFirstChild();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue