fix:quit application failed

when the inspector windows is show
This commit is contained in:
Xiao YiFang 2022-05-23 23:38:04 +08:00
parent 7b434cffaf
commit de11e573d3

View file

@ -1244,6 +1244,10 @@ void MainWindow::closeEvent( QCloseEvent * ev )
void MainWindow::quitApp()
{
if( inspector && inspector->isVisible() )
{
inspector->hide();
}
commitData();
qApp->quit();
}