Skip to content
Snippets Groups Projects
PL1

IVE: Crash on document close

Merged Imported Juan Font Alonso requested to merge 1028-ive-crash-on-document-close into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -653,7 +653,7 @@ void IVInterfaceRequired::setAttributeImpl(
autoName = false;
}
if (!IVNameValidator::isAcceptableName(this, usedName)) {
if (it != m_prototypes.cend()) {
if (it != m_prototypes.cend() && (*it)->function()) {
usedName = (*it)->function()->title() + QLatin1Char('_') + (*it)->title();
autoName = true;
} else {
Loading