summaryrefslogtreecommitdiffstats
path: root/archiveview.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-09-14 14:36:10 +0200
committerArno <am@disconnect.de>2013-09-14 14:36:10 +0200
commit6f0acefafb869c5395991f3ecbd6fe7537c01d22 (patch)
tree0a884194bd172e9455a6db3783026a723f257cd6 /archiveview.cpp
parent6bd52deabc85e66e21171f07ae55c6e597f00f8f (diff)
downloadSheMov-6f0acefafb869c5395991f3ecbd6fe7537c01d22.tar.gz
SheMov-6f0acefafb869c5395991f3ecbd6fe7537c01d22.tar.bz2
SheMov-6f0acefafb869c5395991f3ecbd6fe7537c01d22.zip
Clear release groups and source
Clear comboboxes in NewMovieWizard when calling it again. Otherwise duplicates will pile up :)
Diffstat (limited to 'archiveview.cpp')
-rw-r--r--archiveview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/archiveview.cpp b/archiveview.cpp
index 5fed431..d049145 100644
--- a/archiveview.cpp
+++ b/archiveview.cpp
@@ -601,10 +601,12 @@ MetadataEditorWidget::MetadataEditorWidget(QWidget *parent) : QWidget(parent) {
}
void MetadataEditorWidget::setSources(const QStringList &sources){
+ mSource->clear();
mSource->addItems(sources);
}
void MetadataEditorWidget::setReleaseGroups(const QStringList &relGroups){
+ mRelGroup->clear();
mRelGroup->addItems(relGroups);
}