Fix a mistake in the previous commit (r5573)

git-svn-id: http://svn.osgeo.org/qgis/trunk@5574 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
g_j_m 2006-07-09 06:29:12 +00:00
parent fa5948c82e
commit 6538908d44

View File

@ -285,7 +285,7 @@ void QgsLabelDialog::changeFontColor(void)
#endif
mFontColor = QColorDialog::getColor ( mFontColor );
QPalette palette = lblSample->palette();
palette.setColor(lblSample->foregroundRole(), mBufferColor);
palette.setColor(lblSample->foregroundRole(), mFontColor);
lblSample->setPalette(palette);
}