Skip to content

Commit 533ac4c

Browse files
committed
fix crash on quit
1 parent 5f771a6 commit 533ac4c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/app/qgisapp.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1679,6 +1679,7 @@ void QgisApp::createCanvasTools()
16791679
#else
16801680
mAdvancedDigitizeToolBar->removeAction( mActionOffsetCurve );
16811681
mEditMenu->removeAction( mActionOffsetCurve );
1682+
mMapTools.mOffsetCurve = 0;
16821683
#endif //GEOS_VERSION
16831684
mMapTools.mReshapeFeatures = new QgsMapToolReshape( mMapCanvas );
16841685
mMapTools.mReshapeFeatures->setAction( mActionReshapeFeatures );

src/gui/qgsexpressionbuilderwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ QString QgsExpressionBuilderWidget::loadFunctionHelp( QgsExpressionItem* functio
415415

416416
QString missingError = tr( "<h3>Oops! QGIS can't find help for this function.</h3>"
417417
"The help file for %1 was not found.<br>"
418-
).arg( Qt::escape( name ) );
418+
).arg( Qt::escape( name ) );
419419

420420
if ( !lang.startsWith( "en_" ) )
421421
{

0 commit comments

Comments
 (0)