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 f9d839f commit 564c02eCopy full SHA for 564c02e
src/app/qgslayerstylingwidget.cpp
@@ -489,7 +489,9 @@ bool QgsMapLayerStyleCommand::mergeWith( const QUndoCommand* other )
489
490
// only merge commands if they are created shortly after each other
491
// (e.g. user keeps modifying one property)
492
- if ( mTime.msecsTo( otherCmd->mTime ) > 3000 )
+ QSettings settings;
493
+ int timeout = settings.value( "/UI/styleUndoMergeTimeout", 500 ).toInt();
494
+ if ( mTime.msecsTo( otherCmd->mTime ) > timeout )
495
return false;
496
497
mXml = otherCmd->mXml;
0 commit comments