Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/framework/shortcuts/internal/midiremote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ bool MidiRemote::writeMidiMappings(const MidiMappingList& midiMappings) const

writer.endElement();

return mappingsFile.hasError();
return !mappingsFile.hasError();
}

void MidiRemote::writeMidiMapping(XmlStreamWriter& writer, const MidiControlsMapping& midiMapping) const
Expand Down
2 changes: 1 addition & 1 deletion src/framework/shortcuts/internal/shortcutsregister.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ bool ShortcutsRegister::writeToFile(const ShortcutList& shortcuts, const io::pat

writer.endElement();

return file.hasError();
return !file.hasError();
}

void ShortcutsRegister::writeShortcut(XmlStreamWriter& writer, const Shortcut& shortcut) const
Expand Down
Loading