Skip to content
Permalink
Browse files
add extra enum NoButton to avoid saving an empty string when using qg…
…sFlagsValueToKeys

fixes #43123
  • Loading branch information
3nids committed Jun 1, 2021
1 parent 727a9a8 commit bb1693b31423d9af0bdbdd000979c3a67c551d32
Showing with 2 additions and 0 deletions.
  1. +1 −0 python/gui/auto_generated/qgsrelationeditorwidget.sip.in
  2. +1 −0 src/gui/qgsrelationeditorwidget.h
@@ -36,6 +36,7 @@ The default relation widget in QGIS.

enum Button
{
NoButton,
Link,
Unlink,
SaveChildEdits,
@@ -99,6 +99,7 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsAbstractRelationEditorWidge
*/
enum Button
{
NoButton = 0, //!< No button
Link = 1 << 1, //!< Link button
Unlink = 1 << 2, //!< Unlink button
SaveChildEdits = 1 << 3, //!< Save child edits button

0 comments on commit bb1693b

Please sign in to comment.