summaryrefslogtreecommitdiffstats
path: root/archiveview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archiveview.cpp')
-rw-r--r--archiveview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiveview.cpp b/archiveview.cpp
index ca0d91f..c376c06 100644
--- a/archiveview.cpp
+++ b/archiveview.cpp
@@ -262,11 +262,11 @@ void ArchiveTree::setModel(ArchiveProxy *model){
void ArchiveTree::rename(){
QModelIndex idx = currentIndex();
- int nodeType = idx.data(ArchiveModel::TypeRole).toInt();
+ /*int nodeType = idx.data(ArchiveModel::TypeRole).toInt();
if(nodeType == ArchiveModel::SeriesPartNode){
impossible();
return;
- }
+ }*/
QString currentName = idx.data(ArchiveModel::NameRole).toString();
QString question = QString(tr("Rename %1 to:")).arg(currentName);
QString newName = QInputDialog::getText(this, tr("Rename"), question, QLineEdit::Normal, currentName);