void TitleWidget::templateIndexChanged(int index)
{
QString item = templateBox->itemData(index).toString();
if (!item.isEmpty()) {
if (lastDocumentHash != QCryptographicHash::hash(xml().toString().toAscii(), QCryptographicHash::Md5).toHex()) {
void TitleWidget::templateIndexChanged(int index)
{
QString item = templateBox->itemData(index).toString();
if (!item.isEmpty()) {
if (lastDocumentHash != QCryptographicHash::hash(xml().toString().toAscii(), QCryptographicHash::Md5).toHex()) {