mirror of https://github.com/vitalif/openscad
bugfix: Correct order of recent files on splash screen
parent
31b90d1acb
commit
e518cb9089
|
@ -33,7 +33,7 @@ LaunchingScreen::LaunchingScreen(QWidget *parent) : QDialog(parent)
|
||||||
QListWidgetItem *item = new QListWidgetItem(fileInfo.fileName());
|
QListWidgetItem *item = new QListWidgetItem(fileInfo.fileName());
|
||||||
item->setData(Qt::ToolTipRole, fileInfo.canonicalPath());
|
item->setData(Qt::ToolTipRole, fileInfo.canonicalPath());
|
||||||
item->setData(Qt::UserRole, fileInfo.canonicalFilePath());
|
item->setData(Qt::UserRole, fileInfo.canonicalFilePath());
|
||||||
this->recentList->insertItem(1, item);
|
this->recentList->addItem(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach(const QString &category, UIUtils::exampleCategories())
|
foreach(const QString &category, UIUtils::exampleCategories())
|
||||||
|
|
Loading…
Reference in New Issue