summaryrefslogtreecommitdiff
path: root/src/mutable_song.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-12 16:36:58 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-12 16:36:58 +0200
commit0d81f9d65fac9cdd13137600fcaac97a38544b4b (patch)
tree3b76520543eef1a22d14dcc67b997f70034b47e5 /src/mutable_song.cpp
parent0179b5304c40625f85293cc7a24774b02b538e36 (diff)
tag editor: guard before discarding pending changes accidentally
Diffstat (limited to 'src/mutable_song.cpp')
-rw-r--r--src/mutable_song.cpp2
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()