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, 0 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index bbc336a7..2ad06a73 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2429,10 +2429,6 @@ void MainWindow::refreshFilters()
void MainWindow::renameMod_clicked()
{
try {
-/* QModelIndex treeIdx = m_ModListGroupProxy->mapFromSource(m_ModListSortProxy->mapFromSource(m_ModList.index(m_ContextRow, 0)));
- ui->modList->setCurrentIndex(treeIdx);
- ui->modList->edit(treeIdx);*/
-
ui->modList->edit(ui->modList->currentIndex());
} catch (const std::exception &e) {
reportError(tr("failed to rename mod: %1").arg(e.what()));