fix(touchbar): errors refreshing touchbar if parent is missing

This commit is contained in:
Elian Doran
2025-04-13 22:08:26 +03:00
parent d734ac9e45
commit d6478c2fed

View File

@@ -65,8 +65,10 @@ export default class EditableCodeTypeWidget extends AbstractCodeTypeWidget {
this.show(); this.show();
if (this.parent) {
this.triggerCommand("refreshTouchBar"); this.triggerCommand("refreshTouchBar");
} }
}
getData() { getData() {
return { return {