Emit usedPrefixChanged when prefix is empty
As found by Fabian Vogt
This commit is contained in:
parent
bf1d1cc6b2
commit
8fdbfa6980
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user