tag editor: guard before discarding pending changes accidentally

This commit is contained in:
Andrzej Rybczak
2012-09-12 16:36:58 +02:00
parent 0179b5304c
commit 0d81f9d65f
3 changed files with 37 additions and 17 deletions

View File

@@ -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()