fix(electron): should activate the target tab when closing other tabs (#7704)
fix PD-1520
This commit is contained in:
@@ -1068,6 +1068,7 @@ export const showTabContextMenu = async (tabId: string, viewIndex: number) => {
|
|||||||
|
|
||||||
WebContentViewsManager.instance.patchTabViewsMeta({
|
WebContentViewsManager.instance.patchTabViewsMeta({
|
||||||
workbenches: tabsToRetain,
|
workbenches: tabsToRetain,
|
||||||
|
activeWorkbenchId: tabId,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user