In the window with the menu to manage templates (File->Create Template from image), if you select "Custom" for the picture and click the button "Select", it does nothing. Workaround is to manually set it on the template files, but that's not very user friendly.
Right... void KisTemplateCreateDia::slotSelect() { d->m_default->setChecked(false); d->m_custom->setChecked(true); // QT5TODO // QString name = KIconDialog::getIcon(); // if( name.isEmpty() ) { // if(d->m_customFile.isEmpty()) { // d->m_default->setChecked(true); // d->m_custom->setChecked(false); // } // return; // } // const QString path = KIconLoader::global()->iconPath(name, -thumbnailExtent); d->m_customFile = QString();// path; d->m_customPixmap = QPixmap(); updatePixmap(); }
Fixed in commit 79516146ce7e8ede93bd147a1df194e82248e652 Author: Boudewijn Rempt <boud@valdyas.org> Date: Tue Nov 21 14:19:48 2017 +0100 Port KisTemplateCreateDia to Qt5 The functionality isn't exactly the same, but probably even more useful.