Skip to content

Commit b5bd653

Browse files
committed
BUG: remove spurious call to needsSave
1 parent 7bf67d2 commit b5bd653

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/diffpy/pdfgui/gui/parameterspanel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ def applyCellChange(self, row, col, value):
260260
self.grid_parameters.SetCellValue(row,1,str(int(value)))
261261
self.mainFrame.needsSave()
262262

263-
self.mainFrame.needsSave()
264263
return
265264

265+
266266
def popupMenu(self, window, x, y):
267267
"""Opens a popup menu
268268

src/diffpy/pdfgui/tests/TestParametersPanel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def _leftclickcell(self, row, col, **kw):
5858
return
5959

6060

61-
@unittest.expectedFailure
6261
def test_applyCellChange(self):
6362
"Check ParametersPanel.applyCellChange"
6463
gp = self.panel.grid_parameters

0 commit comments

Comments
 (0)