revert to show

This commit is contained in:
viperminiq 2025-04-30 06:37:48 +02:00 committed by Nyall Dawson
parent d8a2229090
commit 032f8ff70c

View File

@ -7067,14 +7067,14 @@ void QgisApp::saveMapAsImage()
{
QgsMapSaveDialog *dlg = new QgsMapSaveDialog( this, mMapCanvas, activeDecorations(), QgsProject::instance()->annotationManager()->annotations() );
dlg->setAttribute( Qt::WA_DeleteOnClose );
dlg->exec();
dlg->show();
} // saveMapAsImage
void QgisApp::saveMapAsPdf()
{
QgsMapSaveDialog *dlg = new QgsMapSaveDialog( this, mMapCanvas, activeDecorations(), QgsProject::instance()->annotationManager()->annotations(), QgsMapSaveDialog::Pdf );
dlg->setAttribute( Qt::WA_DeleteOnClose );
dlg->exec();
dlg->show();
} // saveMapAsPdf
//overloaded version of the above function