From 1eab84b7da6faec2f61736d6b03ac6ed89f14985 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 3 Sep 2022 17:47:56 -0600 Subject: [PATCH] push2: remove unconditional setting of canvas item names --- libs/surfaces/push2/level_meter.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/surfaces/push2/level_meter.cc b/libs/surfaces/push2/level_meter.cc index 23fbfab1d6..302af2c29f 100644 --- a/libs/surfaces/push2/level_meter.cc +++ b/libs/surfaces/push2/level_meter.cc @@ -63,8 +63,6 @@ LevelMeter::LevelMeter (Push2& p, Item* parent, int len, Meter::Orientation o) _meter_packer = new VBox (this); } - _meter_packer->name = "MeterPacker"; - _meter_packer->set_collapse_on_hide (true); } @@ -466,7 +464,6 @@ LevelMeter::setup_meters (int len, int initial_width, int thin_width) _meters[n].packed = false; delete _meters[n].meter; _meters[n].meter = new Meter (this->canvas(), 32, width, _meter_orientation, len); - _meters[n].meter->name = string_compose ("Meter#%1", n+1); _meters[n].meter->set_highlight(hl); _meters[n].width = width; _meters[n].length = len;