Commit ef414d97 authored by shibakaneki's avatar shibakaneki

Fixed issue 429

parent 59c0b737
...@@ -914,7 +914,7 @@ void UBDocumentController::importFile() ...@@ -914,7 +914,7 @@ void UBDocumentController::importFile()
QString groupName = group->groupName(); QString groupName = group->groupName();
if (groupName == UBSettings::defaultDocumentGroupName) if (groupName == UBSettings::defaultDocumentGroupName || fileInfo.suffix() != "ubz")
groupName = ""; groupName = "";
UBApplication::showMessage(tr("Importing file %1...").arg(fileInfo.baseName()), true); UBApplication::showMessage(tr("Importing file %1...").arg(fileInfo.baseName()), true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment