diff options
Diffstat (limited to 'mappingeditwidget.h')
-rw-r--r-- | mappingeditwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mappingeditwidget.h b/mappingeditwidget.h index 3044d80..54fdf0c 100644 --- a/mappingeditwidget.h +++ b/mappingeditwidget.h @@ -23,6 +23,7 @@ class MappingEditWidget : public QWidget { explicit MappingEditWidget(QWidget *parent = nullptr); MappingTreeResultModel *model() const { return mResultModel; } MappingTreeWidget *treeWidget() const { return mMappingTree; } + void blockResultChange(bool c) { mBlockResultChange = c; } public slots: void addMapping(); @@ -42,6 +43,7 @@ class MappingEditWidget : public QWidget { MappingTreeWidget *mMappingTree; MappingTreeResultView *mMappingResult; MappingTreeResultModel *mResultModel; + bool mBlockResultChange = false; }; #endif // MAPPINGEDITWIDGET_H |