Skip to content

Commit 754b5b2

Browse files
author
mhugent
committed
Fix for restoring selection color from project. Fixes bug #3400
git-svn-id: http://svn.osgeo.org/qgis/trunk@15034 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e020e51 commit 754b5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3444,7 +3444,7 @@ bool QgisApp::addProject( QString projectFile )
34443444
int defaultAlpha = settings.value( "/qgis/default_selection_color_alpha", 255 ).toInt();
34453445
int myRed = QgsProject::instance()->readNumEntry( "Gui", "/SelectionColorRedPart", defaultRed );
34463446
int myGreen = QgsProject::instance()->readNumEntry( "Gui", "/SelectionColorGreenPart", defaultGreen );
3447-
int myBlue = QgsProject::instance()->readNumEntry( "Gui", "/SelectionColorGreenPart", defaultBlue );
3447+
int myBlue = QgsProject::instance()->readNumEntry( "Gui", "/SelectionColorBluePart", defaultBlue );
34483448
int myAlpha = QgsProject::instance()->readNumEntry( "Gui", "/SelectionColorAlphaPart", defaultAlpha );
34493449
QgsRenderer::setSelectionColor( QColor( myRed, myGreen, myBlue, myAlpha ) );
34503450

0 commit comments

Comments
 (0)