SVN commit 1199382 by aclemens:
I just removed the return statement, if we really want to escape at this point
in the function, please fix it. I don't know the logic behind it.
CCMAIL:
[hidden email]
M +6 -2 templateselector.cpp
--- trunk/extragear/graphics/digikam/libs/template/templateselector.cpp #1199381:1199382
@@ -168,9 +168,13 @@
QString title = d->metadataTemplate.templateTitle();
if (title == Template::removeTemplateTitle())
- return d->templateCombo->setCurrentIndex(REMOVETEMPLATE);
+ {
+ d->templateCombo->setCurrentIndex(REMOVETEMPLATE);
+ }
else if (title.isEmpty())
- return d->templateCombo->setCurrentIndex(DONTCHANGE);
+ {
+ d->templateCombo->setCurrentIndex(DONTCHANGE);
+ }
d->templateCombo->setCurrent(title);
}
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel