13
0

Change the autostate button width of all controls

This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2017-08-30 16:07:02 +02:00
parent 35fcb622bc
commit 86222360a3

View File

@ -507,9 +507,9 @@ GenericPluginUI::automatic_layout (const std::vector<ControlUI*>& control_uis)
}
if (columns > max_columns_for_big_autostate) {
for (vector<ControlUI*>::iterator cuip = cui_controls_list.begin();
cuip != cui_controls_list.end();
++cuip) {
for (vector<ControlUI*>::const_iterator cuip = control_uis.cbegin();
cuip != control_uis.cend();
++cuip) {
set_short_autostate(*cuip, true);
}
}