File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -3049,6 +3049,7 @@ QgsPalLabeling::QgsPalLabeling()
3049
3049
mShowingCandidates = false ;
3050
3050
mShowingShadowRects = false ;
3051
3051
mShowingAllLabels = false ;
3052
+ mShowingPartialsLabels = p.getShowPartial ();
3052
3053
3053
3054
mLabelSearchTree = new QgsLabelSearchTree ();
3054
3055
}
Original file line number Diff line number Diff line change @@ -3658,5 +3658,12 @@ void QgsProjectParser::loadLabelSettings( QgsLabelingEngineInterface* lbl )
3658
3658
{
3659
3659
pal->setShowingAllLabels ( showAllLabelsElem.text ().compare ( " true" , Qt::CaseInsensitive ) == 0 );
3660
3660
}
3661
+
3662
+ // mShowingPartialsLabels
3663
+ QDomElement showPartialsLabelsElem = palElem.firstChildElement ( " ShowingPartialsLabels" );
3664
+ if ( !showPartialsLabelsElem.isNull () )
3665
+ {
3666
+ pal->setShowingPartialsLabels ( showPartialsLabelsElem.text ().compare ( " true" , Qt::CaseInsensitive ) == 0 );
3667
+ }
3661
3668
}
3662
3669
}
You can’t perform that action at this time.
0 commit comments