Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED

Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.

Fixes #25904.
This commit is contained in:
Bojidar Marinov
2019-02-25 17:13:25 +02:00
parent 88a36e20cb
commit 8dad5f1e10
3 changed files with 37 additions and 53 deletions

View File

@ -903,6 +903,7 @@ int StyleBoxLine::get_thickness() const {
void StyleBoxLine::set_vertical(bool p_vertical) {
vertical = p_vertical;
emit_changed();
}
bool StyleBoxLine::is_vertical() const {
return vertical;