From 6f0acefafb869c5395991f3ecbd6fe7537c01d22 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 14 Sep 2013 14:36:10 +0200 Subject: Clear release groups and source Clear comboboxes in NewMovieWizard when calling it again. Otherwise duplicates will pile up :) --- archiveview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archiveview.cpp') 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); } -- cgit v1.2.3-70-g09d2