We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d541e00 commit b6763f1Copy full SHA for b6763f1
sage_combinat_widgets/grid_view_editor.py
@@ -682,7 +682,6 @@ def add_cell(self, change):
682
if issubclass(result.__class__, BaseException): # Adding cell was impossible
683
if pos in self.cells and val == self.cells[pos] and self.dirty.keys() == [pos]: # Rollback
684
self.reset_dirty()
685
- new_obj = obj
686
else: # Keep temporary addition for later
687
self.set_dirty(pos, val, result)
688
return
@@ -740,7 +739,6 @@ def remove_cell(self, change):
740
739
if pos in self.addable_cells() or (pos in self.cells and val == self.cells[pos]) \
741
and self.dirty.keys() == [pos]: # Rollback
742
743
744
else: # Keep temporary substraction for later
745
746
0 commit comments