Fix labels widget update on hide dropdown on Ubuntu
What does this MR do and why?
Fixes labels widget on Ubuntu. Previously, clicking outside the dropdown didn't update labels.
Root cause: Due to the structure of labels widget, conditionally displaying the dropdown contents when SidebarEditableItem is in edit
mode, the dropdown was dismounted by its parent before emitting setLabels
event.
This fix ensures the events get emitted in the proper order.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Florie Guibert