summaryrefslogtreecommitdiffstats
path: root/archiveiteminfoedit.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-30 08:47:05 +0200
committerArno <am@disconnect.de>2010-05-30 08:47:05 +0200
commit51631c5726cc770e2802bb746954819f2a892310 (patch)
tree6971f7250b3de767df969168d75bd12b9b7df96f /archiveiteminfoedit.cpp
parent253a4c77b1d7d845e3da367f6a58e4987168b7e6 (diff)
downloadSheMov-51631c5726cc770e2802bb746954819f2a892310.tar.gz
SheMov-51631c5726cc770e2802bb746954819f2a892310.tar.bz2
SheMov-51631c5726cc770e2802bb746954819f2a892310.zip
Bugfix: clear actors in ArchiveEditItemDialog
Clear actors when showing ArchiveEditItemDialog, otherwise they keep piling up :)
Diffstat (limited to 'archiveiteminfoedit.cpp')
-rw-r--r--archiveiteminfoedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiveiteminfoedit.cpp b/archiveiteminfoedit.cpp
index 4efa01c..59ab55b 100644
--- a/archiveiteminfoedit.cpp
+++ b/archiveiteminfoedit.cpp
@@ -141,6 +141,7 @@ void ArchiveItemInfoEdit::setup(const QModelIndex &idx) {
mInfoView->expandAll();
//Actors
+ mActorView->clear();
QStringList actors = idx.data(MovieModel::ActorsRole).toStringList();
qSort(actors);
foreach(QString a, actors){