|
|
@@ -24,6 +24,7 @@ MainWindow::MainWindow(const std::vector<std::string>& dirList)
|
|
|
ui->breadcrumb->setFixedHeight(36);
|
|
|
|
|
|
connect(ui->actionOuvrir, &QAction::triggered, this, &MainWindow::MenuBarActionTrigerred);
|
|
|
+ connect(ui->actionRefresh, &QAction::triggered, this, &MainWindow::OnEngineUpdated);
|
|
|
connect(ui->listView, &QListView::doubleClicked, this, &MainWindow::FileListItemEntered);
|
|
|
connect(ui->breadcrumb, &craftlab::ui::Breadcrumb::SelectionChanged, this, &MainWindow::OnBreadcrumbSelection);
|
|
|
ui->listView->addAction("Open", [this]() { FileListItemEntered(ui->listView->currentIndex()); });
|