Skip to content

Commit 04d48e5

Browse files
committed
Fix: emit edited signal after pasting from clipboard in Vector3 property
When pasting from clipboard into the position property in the SoundEvent editor, on_property_update() was never called, so the edited signal was never emitted and the data was not saved to the file/element.
1 parent ebdd300 commit 04d48e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/editors/soundevent_editor/property

src/editors/soundevent_editor/property/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def paste_from_clipboard(self):
282282
if index < len(self.float_widget_instances):
283283
widget_instance: FloatWidget = self.float_widget_instances[index]
284284
widget_instance.set_value(value)
285+
self.on_property_update()
285286

286287
def on_property_update(self):
287288
"""Send signal that user changed the property"""

0 commit comments

Comments
 (0)