Skip to content
Browse files

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 0075bde28dec229fb7071de179b28daf55d0b174
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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

0 comments on commit 0075bde

Please sign in to comment.
You can’t perform that action at this time.