Refuse to overwrite imported file with multiple subpages

This commit is contained in:
Gavin MacGregor
2025-03-05 18:41:39 +00:00
parent 564243822e
commit 10059e5d0b
4 changed files with 18 additions and 3 deletions

View File

@@ -43,11 +43,13 @@ public:
QString fileDialogFilter() const { return QString(description() + " (*." + extensions().join(" *.") + ')'); };
QStringList warningStrings() const { return m_warnings; };
QString errorString() const { return m_error; };
bool reExportWarning() const { return m_reExportWarning; };
protected:
TeletextDocument const *m_document;
QStringList m_warnings;
QString m_error;
bool m_reExportWarning = false;
};
class LoadTTIFormat : public LoadFormat