forked from qt-creator/qt-creator
Fix reload behavior of binary editor
It should silenty reload internally triggered changes and permission
changes.
Broke in 4e475fb5e6
Change-Id: I900adac72f51ea5e070c9c4efb59c09296526c42
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -228,8 +228,7 @@ public:
|
|||||||
|
|
||||||
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const override
|
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const override
|
||||||
{
|
{
|
||||||
Q_UNUSED(state)
|
return type == TypeRemoved ? BehaviorSilent : IDocument::reloadBehavior(state, type);
|
||||||
return type == TypeRemoved ? BehaviorSilent : BehaviorAsk;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool save(QString *errorString, const QString &fn, bool autoSave) override
|
bool save(QString *errorString, const QString &fn, bool autoSave) override
|
||||||
|
Reference in New Issue
Block a user