mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Let AxisView::set_gui_property perform type conversion in TimeAxisView::set_height
This commit is contained in:
parent
6e467153a0
commit
7fdbabcd79
1 changed files with 1 additions and 3 deletions
|
|
@ -590,9 +590,7 @@ TimeAxisView::set_height (uint32_t h, TrackHeightMode m)
|
|||
TOP_LEVEL_WIDGET.property_height_request () = h;
|
||||
height = h;
|
||||
|
||||
char buf[32];
|
||||
snprintf (buf, sizeof (buf), "%u", height);
|
||||
set_gui_property ("height", buf);
|
||||
set_gui_property ("height", height);
|
||||
|
||||
for (list<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {
|
||||
(*i)->set_height ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue