Commit ef08e31
committed
Fix duplicate subtitle widget in group call panel
Move setupMembers() before _subtitle.create() to prevent re-entrancy.
The rpl chain inside _subtitle.create() can fire synchronously during
FlatLabel construction, calling setupMembers() which triggers geometry
updates that re-enter refreshTitle(). Since object_ptr::create() has
not yet assigned the new widget, _subtitle appears null and a second
subtitle is created.1 parent 3116cd5 commit ef08e31
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2901 | 2901 | | |
2902 | 2902 | | |
2903 | 2903 | | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
2904 | 2907 | | |
2905 | 2908 | | |
2906 | 2909 | | |
| |||
0 commit comments