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 )
43364336 mOverviewCanvas ->setBackgroundColor ( myColor );
43374337
43384338 QgsDebugMsg ( " Canvas background color restored..." );
4339+ int myAlphaInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorAlphaPart" , 255 );
43394340 myRedInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorRedPart" , 255 );
43404341 myGreenInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorGreenPart" , 255 );
43414342 myBlueInt = QgsProject::instance ()->readNumEntry ( " Gui" , " /SelectionColorBluePart" , 0 );
4342- myColor = QColor ( myRedInt, myGreenInt, myBlueInt );
4343+ myColor = QColor ( myRedInt, myGreenInt, myBlueInt, myAlphaInt );
43434344 mMapCanvas ->setSelectionColor ( myColor ); // this is selection color before rendering starts
43444345
43454346 // load project scales
You can’t perform that action at this time.
0 commit comments