Commit 06700283 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

TaskList: Clean up reopen behavior

Thanks to Ossi for pointing out the errors in my way.
parent 8e92316a
......@@ -92,9 +92,8 @@ bool TaskFile::isSaveAsAllowed() const
Core::IFile::ReloadBehavior TaskFile::reloadBehavior(ChangeTrigger state, ChangeType type) const
{
Q_UNUSED(state);
if (type != TypePermissions)
return BehaviorSilent;
return BehaviorAsk;
Q_UNUSED(type);
return BehaviorSilent;
}
void TaskFile::reload(ReloadFlag flag, ChangeType type)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment