diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-12 16:36:58 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-12 16:36:58 +0200 |
commit | 0d81f9d65fac9cdd13137600fcaac97a38544b4b (patch) | |
tree | 3b76520543eef1a22d14dcc67b997f70034b47e5 /src/mutable_song.cpp | |
parent | 0179b5304c40625f85293cc7a24774b02b538e36 (diff) |
tag editor: guard before discarding pending changes accidentally
Diffstat (limited to 'src/mutable_song.cpp')
-rw-r--r-- | src/mutable_song.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutable_song.cpp b/src/mutable_song.cpp index cd8024a9..dfa18d8b 100644 --- a/src/mutable_song.cpp +++ b/src/mutable_song.cpp @@ -175,7 +175,7 @@ void MutableSong::setTags(SetFunction set, const std::string &value, const std:: bool MutableSong::isModified() const { - return !m_uri.empty() && !m_tags.empty(); + return !m_uri.empty() || !m_tags.empty(); } void MutableSong::clearModifications() |