The recent files list stores absolute names

Trivial bug-fix for master

(cherry picked from commit f53238b57910a8a96fd9cb45042e1e4193772a4d)
This commit is contained in:
Laurent Rineau
2014-05-13 16:32:50 +02:00
parent e97506adb7
commit 4bcbc85cf5
+1 -1
View File
@@ -788,7 +788,7 @@ void MainWindow::open(QString filename)
Scene_item* scene_item = load_item(fileinfo, find_loader(load_pair.first));
if(scene_item != 0) {
this->addToRecentFiles(filename);
this->addToRecentFiles(fileinfo.absoluteFilePath());
}
selectSceneItem(scene->addItem(scene_item));
}