From 86222360a3ba54bbc4f5817c1efc2d3aea8aaf36 Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Wed, 30 Aug 2017 16:07:02 +0200 Subject: [PATCH] Change the autostate button width of all controls --- gtk2_ardour/generic_pluginui.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index b1d3b8c49d..bc169afe4f 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -507,9 +507,9 @@ GenericPluginUI::automatic_layout (const std::vector& control_uis) } if (columns > max_columns_for_big_autostate) { - for (vector::iterator cuip = cui_controls_list.begin(); - cuip != cui_controls_list.end(); - ++cuip) { + for (vector::const_iterator cuip = control_uis.cbegin(); + cuip != control_uis.cend(); + ++cuip) { set_short_autostate(*cuip, true); } }