Parcourir la source

Activate the notebook explicitly when switching to edit mode

Steven Silvester il y a 8 ans
Parent
commit
a441dbed76
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/notebook/notebook/widget.ts

+ 1 - 0
src/notebook/notebook/widget.ts

@@ -626,6 +626,7 @@ class Notebook extends StaticNotebook {
       if (activeCell instanceof MarkdownCellWidget) {
         activeCell.rendered = false;
       }
+      this._isActive = true;
     }
   }