Fix for folder renaming not being persisted

preferencesAboutTextFull
Craig Watson 8 years ago
parent e5b4de9013
commit 17461abd2b
  1. 1
      src/document/UBDocumentController.cpp

@ -1018,6 +1018,7 @@ void UBDocumentController::itemChanged(QTreeWidgetItem * item, int column)
if (0 != (item->flags() & Qt::ItemIsEditable)) if (0 != (item->flags() & Qt::ItemIsEditable))
{ {
childItem->proxy()->setMetaData(UBSettings::documentGroupName, item->text(column)); childItem->proxy()->setMetaData(UBSettings::documentGroupName, item->text(column));
UBPersistenceManager::persistenceManager()->persistDocumentMetadata(childItem->proxy());
} }
} }
} }

Loading…
Cancel
Save