mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:07:08 +08:00
Bring a modal window back to front when opening a dialog
Otherwise it can happen the modal window in background blocks the other UI.
This commit is contained in:
@@ -7,8 +7,10 @@
|
||||
*/
|
||||
|
||||
#include "autopublishdialog.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "ui_autopublishdialog.h"
|
||||
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -33,8 +35,8 @@ namespace BlackGui
|
||||
{
|
||||
const int r = ui->comp_AutoPublish->readFiles();
|
||||
this->show();
|
||||
CGuiApplication::modalWindowToFront();
|
||||
return r;
|
||||
}
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user