File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ jlab env set-python-envs-path /opt/python_envs
191
191
192
192
### ` jlab env set-conda-path <path> `
193
193
194
- Set base conda executable path. Base conda executable is used to when creating new conda environments, and running conda commands.
194
+ Set base conda executable path. Base conda executable is used when creating new conda environments, and running conda commands.
195
195
196
196
Examples:
197
197
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ export class LabView implements IDisposable {
277
277
await this . _setUIMode ( uiMode ) ;
278
278
}
279
279
280
- async _setUIMode ( uiMode : UIMode ) {
280
+ private async _setUIMode ( uiMode : UIMode ) {
281
281
this . _uiMode = uiMode ;
282
282
283
283
await this . _view . webContents . executeJavaScript ( `
Original file line number Diff line number Diff line change @@ -570,8 +570,12 @@ export class SessionWindow implements IDisposable {
570
570
this . _sessionConfigChanged . emit ( ) ;
571
571
572
572
if ( type === 'notebook' ) {
573
- this . labView . labUIReady . then ( ( ) => {
574
- this . labView . newNotebook ( ) ;
573
+ this . labView . labUIReady . then ( async ( ) => {
574
+ await this . labView . newNotebook ( ) ;
575
+ this . _setUIMode (
576
+ userSettings . getValue ( SettingType . uiModeForSingleFileOpen ) ,
577
+ false
578
+ ) ;
575
579
this . _hideProgressView ( ) ;
576
580
} ) ;
577
581
} else {
You can’t perform that action at this time.
0 commit comments