diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-10-01 19:58:17 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-10-01 19:58:17 +0200 |
commit | af5043e1f03dfbda70af61201b21fd812ae63984 (patch) | |
tree | d8068c1452373393b0f835442cde74feea5d0c90 | |
parent | 4a995bc45e9a0cb5edac397efd2d79d6e3b7143e (diff) |
Also clear name, description and channel information on clear().
-rw-r--r-- | src/drumkit.cc | 5 |
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() |