summaryrefslogtreecommitdiff
path: root/src/drumkit.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-10-01 19:58:17 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-10-01 19:58:17 +0200
commitaf5043e1f03dfbda70af61201b21fd812ae63984 (patch)
treed8068c1452373393b0f835442cde74feea5d0c90 /src/drumkit.cc
parent4a995bc45e9a0cb5edac397efd2d79d6e3b7143e (diff)
Also clear name, description and channel information on clear().
Diffstat (limited to 'src/drumkit.cc')
-rw-r--r--src/drumkit.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drumkit.cc b/src/drumkit.cc
index caceafb..0104720 100644
--- a/src/drumkit.cc
+++ b/src/drumkit.cc
@@ -45,6 +45,11 @@ void DrumKit::clear()
i++;
}
instruments.clear();
+
+ channels.clear();
+
+ _name = "";
+ _description = "";
}
bool DrumKit::isValid()