File tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/extensions/browser
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,7 @@ export abstract class AbstractInstallAction extends ExtensionAction {
286
286
if ( runningExtension && ! ( runningExtension . activationEvents && runningExtension . activationEvents . some ( activationEent => activationEent . startsWith ( 'onLanguage' ) ) ) ) {
287
287
const action = await this . getThemeAction ( extension ) ;
288
288
if ( action ) {
289
+ action . extension = extension ;
289
290
try {
290
291
return action . run ( { showCurrentTheme : true , ignoreFocusLost : true } ) ;
291
292
} finally {
@@ -297,7 +298,7 @@ export abstract class AbstractInstallAction extends ExtensionAction {
297
298
298
299
}
299
300
300
- private async getThemeAction ( extension : IExtension ) : Promise < IAction | undefined > {
301
+ private async getThemeAction ( extension : IExtension ) : Promise < ExtensionAction | undefined > {
301
302
const colorThemes = await this . workbenchThemeService . getColorThemes ( ) ;
302
303
if ( colorThemes . some ( theme => isThemeFromExtension ( theme , extension ) ) ) {
303
304
return this . instantiationService . createInstance ( SetColorThemeAction ) ;
You can’t perform that action at this time.
0 commit comments