Brian E. Granger пре 7 година
родитељ
комит
9f5e7bd3f5
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      packages/cells/src/widget.ts
  2. 1 1
      packages/notebook/src/actions.ts

+ 1 - 0
packages/cells/src/widget.ts

@@ -691,6 +691,7 @@ namespace CodeCell {
     }
 
     model.executionCount = null;
+    cell.outputHidden = false;
     cell.setPrompt('*');
     model.trusted = true;
 

+ 1 - 1
packages/notebook/src/actions.ts

@@ -1100,10 +1100,10 @@ namespace Private {
    * Run a cell.
    */
   function runCell(parent: Notebook, child: Cell, session?: IClientSession): Promise<boolean> {
-
     switch (child.model.type) {
     case 'markdown':
       (child as MarkdownCell).rendered = true;
+      child.inputHidden = false;
       break;
     case 'code':
       if (session) {