Fix for SANKORE-347

preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent 4be7a79c56
commit ec10a0d33f
  1. 2
      src/adaptors/UBImportAdaptor.cpp

@ -35,7 +35,7 @@ UBImportAdaptor::~UBImportAdaptor()
UBDocumentProxy* UBImportAdaptor::importFile(const QFile& pFile, const QString& pGroup) UBDocumentProxy* UBImportAdaptor::importFile(const QFile& pFile, const QString& pGroup)
{ {
QString documentName = QFileInfo(pFile.fileName()).baseName(); QString documentName = QFileInfo(pFile.fileName()).completeBaseName();
UBDocumentProxy* newDocument = UBPersistenceManager::persistenceManager()->createDocument(pGroup, documentName); UBDocumentProxy* newDocument = UBPersistenceManager::persistenceManager()->createDocument(pGroup, documentName);

Loading…
Cancel
Save