summaryrefslogtreecommitdiffstats
path: root/seriestreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'seriestreemodel.cpp')
-rw-r--r--seriestreemodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/seriestreemodel.cpp b/seriestreemodel.cpp
index b8a4425..846f00c 100644
--- a/seriestreemodel.cpp
+++ b/seriestreemodel.cpp
@@ -196,6 +196,7 @@ bool SeriesTreeModel::deleteFromSeries(const QModelIndex &what){
foreach(QFileInfo fi, files){
QFile::remove(fi.absoluteFilePath());
}
+ removeRows(what.row(), 1, what.parent());
return true;
}
}