export to YAML functionality is only available if there is YAML format data
This commit is contained in:
@ -32,9 +32,11 @@ protected:
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
void contextMenuEvent(QContextMenuEvent *event) override;
|
||||
bool eventFilter(QObject *watched, QEvent *event) override;
|
||||
bool check_yaml();
|
||||
|
||||
private:
|
||||
QString filename;
|
||||
static const QString yaml_regex;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user