From 795bb30935aa68e5ba7a8412a162b547af298495 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 13 Oct 2023 15:00:48 -0400 Subject: [PATCH] sagasu: Fix bug where it's impossible to extract files --- sagasu/src/filetreewindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sagasu/src/filetreewindow.cpp b/sagasu/src/filetreewindow.cpp index 3b6243e..02feb99 100644 --- a/sagasu/src/filetreewindow.cpp +++ b/sagasu/src/filetreewindow.cpp @@ -48,7 +48,7 @@ FileTreeWindow::FileTreeWindow(QString gamePath, GameData *data, QWidget *parent auto index = treeWidget->indexAt(pos); if (index.isValid()) { - auto path = m_fileModel->data(index, Qt::UserRole).toString(); + auto path = m_searchModel->data(index, Qt::UserRole).toString(); auto menu = new QMenu();