Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 c7a1650
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 c7a1650

Please sign in to comment.