Don't clear output on set_next_input(replace=True)

rewriting input shouldn't force removal of output
Min RK 10 years ago
parent 92fa310758
commit 34481cb7ed

@ -197,7 +197,6 @@ define(function (require) {
this.events.on('set_next_input.Notebook', function (event, data) {
if (data.replace) {
data.cell.set_text(data.text);
data.cell.clear_output();
} else {
var index = that.find_cell_index(data.cell);
var new_cell = that.insert_cell_below('code',index);

Loading…
Cancel
Save