mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #1606 from arnaud-morvan/selectioncolor_alphachannel
Fix #11307. Apply user selection alpha channel to mapsettings on newfile.
This commit is contained in:
commit
c7a1650767
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user