Skip to content
Permalink
Browse files

Merge pull request #39375 from qgis-bot/backport-39359-to-release-3_10

[Backport release-3_10] Fix crash in undo dock when clearing project/closing QGIS
  • Loading branch information
m-kuhn committed Oct 15, 2020
2 parents c72c111 + 5c97ff6 commit 390384ccac4761db513b5cfcffd2a442a67dcdf6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsundowidget.h
@@ -25,6 +25,7 @@
#include <QWidget>
#include <QUndoView>
#include <QUndoStack>
#include <QPointer>

#include "qgspanelwidget.h"
#include "qgis_app.h"
@@ -101,7 +102,7 @@ class APP_EXPORT QgsUndoWidget : public QgsPanelWidget

private:
QUndoView *mUndoView = nullptr;
QUndoStack *mUndoStack = nullptr;
QPointer< QUndoStack > mUndoStack;
QgsMapCanvas *mMapCanvas = nullptr;

int mPreviousIndex;

0 comments on commit 390384c

Please sign in to comment.
You can’t perform that action at this time.