feat(cpn): Allow opening of individual model yml files (#1959)
- parse the yaml file and if successful open as a new document in a Models and Settings window - warn the user that no radio conversion has been possible as source radio flavour unknown - populate radio settings with default values based on current radio profile
This commit is contained in:
@@ -39,6 +39,6 @@ class YamlFormat : public StorageFormat
|
||||
virtual bool write(const RadioData & radioData);
|
||||
|
||||
protected:
|
||||
bool loadFile(QByteArray & fileData, const QString & fileName);
|
||||
bool loadFile(QByteArray & fileData);
|
||||
bool writeFile(const QByteArray & fileData, const QString & fileName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user