File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4336,10 +4336,11 @@ bool QgisApp::addProject( const QString& projectFile )
4336
4336
mOverviewCanvas ->setBackgroundColor ( myColor );
4337
4337
4338
4338
QgsDebugMsg ( " Canvas background color restored..." );
4339
+ int myAlphaInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorAlphaPart" , 255 );
4339
4340
myRedInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorRedPart" , 255 );
4340
4341
myGreenInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorGreenPart" , 255 );
4341
4342
myBlueInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorBluePart" , 0 );
4342
- myColor = QColor ( myRedInt, myGreenInt, myBlueInt );
4343
+ myColor = QColor ( myRedInt, myGreenInt, myBlueInt, myAlphaInt );
4343
4344
mMapCanvas ->setSelectionColor ( myColor ); // this is selection color before rendering starts
4344
4345
4345
4346
// load project scales
You can’t perform that action at this time.
0 commit comments