diff options
| author | Silarn <jrim@rimpo.org> | 2018-04-05 23:57:24 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-04-05 23:57:24 -0500 |
| commit | 74dd2bb914a1f2a31506c3544b6ee198f65e2b6b (patch) | |
| tree | e1369fe841d48281f836434b25e8c76646e4eb06 /src/mainwindow.cpp | |
| parent | dcbcb29ec733801025556d294b90c9b8061a31e5 (diff) | |
Return extraction context menu to archive list
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0dbe4d53..faa4b880 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -4345,6 +4345,18 @@ void MainWindow::displayColumnSelection(const QPoint &pos) }
}
+void MainWindow::on_bsaList_customContextMenuRequested(const QPoint &pos)
+{
+ m_ContextItem = ui->bsaList->itemAt(pos);
+
+// m_ContextRow = ui->bsaList->indexOfTopLevelItem(ui->bsaList->itemAt(pos));
+
+ QMenu menu;
+ menu.addAction(tr("Extract..."), this, SLOT(extractBSATriggered()));
+
+ menu.exec(ui->bsaList->mapToGlobal(pos));
+}
+
void MainWindow::on_bsaList_itemChanged(QTreeWidgetItem*, int)
{
m_ArchiveListWriter.write();
|
