File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -625,6 +625,8 @@ export class CodeCellModel extends CellModel implements ICodeCellModel {
625
625
executionCount . set ( null ) ;
626
626
}
627
627
}
628
+ this . value . changed . connect ( this . _onValueChanged , this ) ;
629
+
628
630
executionCount . changed . connect ( this . _onExecutionCountChanged , this ) ;
629
631
630
632
this . _modelDBMutex ( ( ) => {
@@ -818,13 +820,12 @@ export class CodeCellModel extends CellModel implements ICodeCellModel {
818
820
}
819
821
820
822
/**
821
- * Handle a change to the observable value.
823
+ * Handle a change to the code cell value.
822
824
*/
823
- protected onGenericChange ( ) : void {
825
+ private _onValueChanged ( ) : void {
824
826
if ( this . executionCount !== null ) {
825
827
this . _setDirty ( this . _executedCode !== this . value . text . trim ( ) ) ;
826
828
}
827
- this . contentChanged . emit ( void 0 ) ;
828
829
}
829
830
830
831
/**
You can’t perform that action at this time.
0 commit comments