Skip to content
Permalink
Browse files

Merge pull request #1606 from arnaud-morvan/selectioncolor_alphachannel

Fix #11307. Apply user selection alpha channel to mapsettings on newfile.
  • Loading branch information
3nids committed Oct 3, 2014
2 parents 6ec751f + 0075bde commit c7a16507671dc322856c338e2e6d8b1c9b451884
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 c7a1650

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