Skip to content

Commit

Permalink
[layouts] Fix crash on svg warning dialog close
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 19, 2017
1 parent ef1bdd3 commit a44a598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutdesignerdialog.cpp
Expand Up @@ -1987,7 +1987,7 @@ void QgsLayoutDesignerDialog::showSvgExportWarning()

if ( displaySVGWarning )
{
QgsMessageViewer m( this );
QgsMessageViewer m( this, QgsGuiUtils::ModalDialogFlags, false );
m.setWindowTitle( tr( "Export as SVG" ) );
m.setCheckBoxText( tr( "Don't show this message again" ) );
m.setCheckBoxState( Qt::Unchecked );
Expand Down

0 comments on commit a44a598

Please sign in to comment.