Switch back to the own dialog when you closing a dialog menu
This commit is contained in:
parent
bbfbde465f
commit
5f3f8468ea
|
@ -1405,7 +1405,7 @@ void FApplication::processMouseEvent()
|
||||||
menu->hideSuperMenus();
|
menu->hideSuperMenus();
|
||||||
|
|
||||||
// No widget was been clicked and the menu is no dialog menu
|
// 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();
|
FWindow::switchToPrevWindow();
|
||||||
|
|
||||||
if ( statusBar() )
|
if ( statusBar() )
|
||||||
|
|
Loading…
Reference in New Issue