# HG changeset patch # User Chris Cannam # Date 1302790901 -3600 # Node ID 85e59c901de9e364beb4ffaa9442834f62a7011c # Parent f702756154b0b87e0a529f9020b5f6688b72736e Use briefer filename for import command name diff -r f702756154b0 -r 85e59c901de9 framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Thu Apr 07 15:20:53 2011 +0100 +++ b/framework/MainWindowBase.cpp Thu Apr 14 15:21:41 2011 +0100 @@ -1205,7 +1205,7 @@ } else if (mode == CreateAdditionalModel) { CommandHistory::getInstance()->startCompoundOperation - (tr("Import \"%1\"").arg(source.getLocation()), true); + (tr("Import \"%1\"").arg(source.getBasename()), true); m_document->addImportedModel(newModel); @@ -1246,7 +1246,7 @@ } CommandHistory::getInstance()->startCompoundOperation - (tr("Import \"%1\"").arg(source.getLocation()), true); + (tr("Import \"%1\"").arg(source.getBasename()), true); m_document->addImportedModel(newModel);