Switch back to the own dialog when you closing a dialog menu

This commit is contained in:
Markus Gans 2016-08-20 22:33:59 +02:00
parent bbfbde465f
commit 5f3f8468ea
1 changed files with 1 additions and 1 deletions

View File

@ -1405,7 +1405,7 @@ void FApplication::processMouseEvent()
menu->hideSuperMenus();
// No widget was been clicked and the menu is no dialog menu
if ( ! (clicked_widget && is_window_menu) )
if ( ! (clicked_widget || is_window_menu) )
FWindow::switchToPrevWindow();
if ( statusBar() )