Skip to content

Commit 0075bde

Browse files
committedOct 3, 2014
Apply default selection color alpha channel to mapsettings on newfile. Fix #11307
1 parent 6ec751f commit 0075bde

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
@@ -3440,7 +3440,7 @@ void QgisApp::fileNew( bool thePromptToSaveFlag, bool forceBlank )
34403440
prj->writeEntry( "Gui", "/SelectionColorGreenPart", myGreen );
34413441
prj->writeEntry( "Gui", "/SelectionColorBluePart", myBlue );
34423442
prj->writeEntry( "Gui", "/SelectionColorAlphaPart", myAlpha );
3443-
mMapCanvas->setSelectionColor( QColor( myRed, myGreen, myBlue ) );
3443+
mMapCanvas->setSelectionColor( QColor( myRed, myGreen, myBlue, myAlpha ) );
34443444

34453445
//set the canvas to the default background color
34463446
//the default can be set in qgisoptions

0 commit comments

Comments
 (0)
Please sign in to comment.