Skip to content
Browse files

default value for mButtonsVisibility on initialization since it's use…

…d when creating a widget with no settings (because of an autogenerated form)
  • Loading branch information
signedav committed Sep 11, 2020
1 parent 899b4d8 commit 9ccbeb3217f8f0f1af8731d1916bfd73b42b66fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsrelationeditorwidget.h
@@ -329,7 +329,7 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsCollapsibleGroupBox
QObjectUniquePtr<QgsMapToolDigitizeFeature> mMapToolDigitize;
QButtonGroup *mViewModeButtonGroup = nullptr;

QgsAttributeEditorRelation::Buttons mButtonsVisibility;
QgsAttributeEditorRelation::Buttons mButtonsVisibility = QgsAttributeEditorRelation::Button::AllButtons;
bool mShowLabel = true;
bool mVisible = false;
bool mLayerInSameTransactionGroup = false;

0 comments on commit 9ccbeb3

Please sign in to comment.
You can’t perform that action at this time.