Skip to content

Commit

Permalink
add extra enum NoButton to avoid saving an empty string when using qg…
Browse files Browse the repository at this point in the history
…sFlagsValueToKeys

fixes #43123
  • Loading branch information
3nids committed Jun 1, 2021
1 parent 727a9a8 commit bb1693b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/gui/auto_generated/qgsrelationeditorwidget.sip.in
Expand Up @@ -36,6 +36,7 @@ The default relation widget in QGIS.

enum Button
{
NoButton,
Link,
Unlink,
SaveChildEdits,
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsrelationeditorwidget.h
Expand Up @@ -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
Expand Down

0 comments on commit bb1693b

Please sign in to comment.