Remove over-protection
The queued resize will only happen trigger a size-request when the widget is realized, and on_size_request() calls ensure_layout(). Moreover, this over protection meant that sometimes a resize wasn't noticed by the button containers.
This commit is contained in:
parent
f52f23b12d
commit
03f77792dd
@ -221,13 +221,7 @@ ArdourButton::set_sizing_text (const std::string& str)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_sizing_text = str;
|
_sizing_text = str;
|
||||||
if (!is_realized()) {
|
queue_resize ();
|
||||||
return;
|
|
||||||
}
|
|
||||||
ensure_layout ();
|
|
||||||
if (_layout) {
|
|
||||||
queue_resize ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user