Skip to content

Commit

Permalink
Fix for #6992, GDAL create options help dialog shows up behind other …
Browse files Browse the repository at this point in the history
…dialogs on Mac
  • Loading branch information
dakcarto committed Jan 17, 2013
1 parent 0a971c3 commit fed5240
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/qgsrasterformatsaveoptionswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,11 @@ void QgsRasterFormatSaveOptionsWidget::helpOptions()
textEdit->setText( message );
dlg->layout()->addWidget( textEdit );
dlg->resize( 600, 400 );
#ifdef Q_WS_MAC
dlg->exec(); //modal
#else
dlg->show(); //non modal
#endif
}

QString QgsRasterFormatSaveOptionsWidget::validateOptions( bool gui, bool reportOK )
Expand Down

0 comments on commit fed5240

Please sign in to comment.