Fixed a bug: the edit dialog fields were not cleared if an
[emufront] / src / widgets / stringlistwidget.cpp
index cb54203..3bd3c3a 100644 (file)
@@ -96,3 +96,8 @@ void StringListWidget::setItems(QStringList list)
     foreach(QString s, list)
         if (!s.trimmed().isEmpty()) stringList->addItem(s);
 }
+
+void StringListWidget::clear()
+{
+    stringList->clear();
+}