We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b5439f commit 357be79Copy full SHA for 357be79
src/core/qgsvectorlayer.cpp
@@ -3102,7 +3102,9 @@ void QgsVectorLayer::destroyEditCommand()
3102
// Pushing the new command deletes the destroyed one, and since the new
3103
// command is obsolete it's automatically deleted by the undo stack.
3104
std::unique_ptr< QUndoCommand > command = qgis::make_unique< QUndoCommand >();
3105
+#if QT_VERSION >= 0x050900
3106
command->setObsolete( true );
3107
+#endif
3108
undoStack()->push( command.release() );
3109
3110
mEditCommandActive = false;
0 commit comments