DiffEditor: disable saveAs action during reload

Change-Id: I6786139c1cd9c9e3c0786b14da058cb260fba3ed
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2017-06-29 12:03:10 +02:00
parent f5d68398d5
commit bde0f1b0ff
2 changed files with 11 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ public:
QString fallbackSaveAsPath() const override;
QString fallbackSaveAsFileName() const override;
bool isSaveAsAllowed() const override { return true; }
bool isSaveAsAllowed() const override;
bool save(QString *errorString, const QString &fileName, bool autoSave) override;
void reload();
bool reload(QString *errorString, ReloadFlag flag, ChangeType type) override;