QgsLayerStylingWidget::apply() always calls the apply() method of QgsLabelingWidget twice #58782
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
GUI/UX
Related to QGIS application GUI or User Experience
Labeling
Related to QGIS map labeling
Optimization
I feel the need... the need for speed!
What is the bug or the crash?
Any widget inheriting from
QgsMapLayerConfigWidget
is getting itsapply()
method called twice.This is specially noticeable when the
Live Update
mode is active.Steps to reproduce the issue
To make this evident, go to
qgslabelingwidget.cpp
,apply()
method and add something like:Use the labeling rendering properties in the panel widget and click on the
Apply
button, or use theLive Update
mode activated. You'll see the duplicate call.Versions
At least, QGIS master.
Supported QGIS version
New profile
Additional context
I'm creating this issue for reference. It'll be fixed in an upcoming PR.
The text was updated successfully, but these errors were encountered: