Merge remote-tracking branch 'origin/14.0'

Change-Id: I0d5fd257c10eeb452d8767aba63bb7f7faacd48e
This commit is contained in:
Eike Ziller
2024-07-03 10:14:34 +02:00
49 changed files with 458 additions and 260 deletions

View File

@@ -349,9 +349,8 @@ void ModeManager::currentTabChanged(int index)
if (!mode)
return;
// FIXME: This hardcoded context update is required for the Debug and Edit modes, since
// they use the editor widget, which is already a context widget so the main window won't
// go further up the parent tree to find the mode context.
// Set the mode's context regardless of focus widget.
// Whenever a mode is active, it's Context is active.
ICore::updateAdditionalContexts(d->m_addedContexts, mode->context());
d->m_addedContexts = mode->context();