Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 219:85e59c901de9
Use briefer filename for import command name
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2011 15:21:41 +0100 |
parents | 64dfa7d6171d |
children | 0b1886cee2cf 67cea66bd588 |
line wrap: on
line diff
--- 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);