projects
/
emufront
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a bug: the edit dialog fields were not cleared if an
[emufront]
/
src
/
widgets
/
stringlistwidget.cpp
diff --git
a/src/widgets/stringlistwidget.cpp
b/src/widgets/stringlistwidget.cpp
index
cb54203
..
3bd3c3a
100644
(file)
--- a/
src/widgets/stringlistwidget.cpp
+++ b/
src/widgets/stringlistwidget.cpp
@@
-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();
+}