Skip to content

Commit 0153434

Browse files
committed
remove old color key when restoring copyright decorator from pre-3.2 projects
1 parent 83ccff2 commit 0153434

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgsdecorationcopyright.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ void QgsDecorationCopyright::projectRead()
8181
if ( oldColor.isValid() )
8282
{
8383
mTextFormat.setColor( oldColor );
84+
QgsProject::instance()->removeEntry( mNameConfig, QStringLiteral( "/Color" ) );
8485
}
8586
}
8687

0 commit comments

Comments
 (0)