small fixes

This commit is contained in:
zadam
2021-10-03 10:42:46 +02:00
parent a1c1c7c830
commit 75fc9e2048
4 changed files with 13 additions and 2 deletions

View File

@@ -310,7 +310,7 @@ export default class RibbonContainer extends NoteContextAwareWidget {
// won't trigger .refresh();
await super.handleEventInChildren('setNoteContext', data);
}
else if (this.isEnabled()) {
else if (this.isEnabled() || name === 'initialRenderComplete') {
const activeRibbonWidget = this.getActiveRibbonWidget();
// forward events only to active ribbon tab, inactive ones don't need to be updated