Emit usedPrefixChanged when prefix is empty

As found by Fabian Vogt
This commit is contained in:
David Edmundson 2017-06-07 18:03:31 +01:00
parent bf1d1cc6b2
commit 8fdbfa6980

View File

@ -570,6 +570,9 @@ void FrameSvgItem::applyPrefixes()
if (m_prefixes.isEmpty()) { if (m_prefixes.isEmpty()) {
m_frameSvg->setElementPrefix(QString()); m_frameSvg->setElementPrefix(QString());
if (oldPrefix != m_frameSvg->prefix()) {
emit usedPrefixChanged();
}
return; return;
} }