Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Apply default selection color alpha channel to mapsettings on newfile.
…Fix #11307
  • Loading branch information
arnaud-morvan committed Oct 3, 2014
1 parent 6ec751f commit 0075bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -3440,7 +3440,7 @@ void QgisApp::fileNew( bool thePromptToSaveFlag, bool forceBlank )
prj->writeEntry( "Gui", "/SelectionColorGreenPart", myGreen );
prj->writeEntry( "Gui", "/SelectionColorBluePart", myBlue );
prj->writeEntry( "Gui", "/SelectionColorAlphaPart", myAlpha );
mMapCanvas->setSelectionColor( QColor( myRed, myGreen, myBlue ) );
mMapCanvas->setSelectionColor( QColor( myRed, myGreen, myBlue, myAlpha ) );

//set the canvas to the default background color
//the default can be set in qgisoptions
Expand Down

0 comments on commit 0075bde

Please sign in to comment.