summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 15564c21..7f9e81fc 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -4555,7 +4555,11 @@ void MainWindow::initModListContextMenu(QMenu *menu)
{
menu->addAction(tr("Install Mod..."), this, SLOT(installMod_clicked()));
menu->addAction(tr("Create empty mod"), this, SLOT(createEmptyMod_clicked()));
+
+ menu->addSeparator();
menu->addAction(tr("Create Separator"), this, SLOT(createSeparator_clicked()));
+ menu->addAction(tr("Collapse all"), ui->modList, &QTreeView::collapseAll);
+ menu->addAction(tr("Expand all"), ui->modList, &QTreeView::expandAll);
menu->addSeparator();