export to YAML functionality is only available if there is YAML format data

This commit is contained in:
Axel Kohlmeyer
2024-07-17 04:14:51 -04:00
parent d277a12e43
commit 5afde3f0f5
3 changed files with 26 additions and 7 deletions

View File

@ -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