From af5043e1f03dfbda70af61201b21fd812ae63984 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 1 Oct 2013 19:58:17 +0200 Subject: Also clear name, description and channel information on clear(). --- src/drumkit.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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() -- cgit v1.2.3