aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/bineditor/bineditorplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/bineditor/bineditorplugin.cpp')
-rw-r--r--src/plugins/bineditor/bineditorplugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp
index d8ca404f87..dbc96f4d60 100644
--- a/src/plugins/bineditor/bineditorplugin.cpp
+++ b/src/plugins/bineditor/bineditorplugin.cpp
@@ -228,8 +228,7 @@ public:
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const override
{
- Q_UNUSED(state)
- return type == TypeRemoved ? BehaviorSilent : BehaviorAsk;
+ return type == TypeRemoved ? BehaviorSilent : IDocument::reloadBehavior(state, type);
}
bool save(QString *errorString, const QString &fn, bool autoSave) override