[Bio] / PyGUI / AGGetPubDialog.py Repository:
ViewVC logotype

Diff of /PyGUI/AGGetPubDialog.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Fri Jul 9 20:01:50 2004 UTC revision 1.4, Mon Jul 12 17:12:43 2004 UTC
# Line 117  Line 117 
117          cellCol = evt.GetCol()          cellCol = evt.GetCol()
118          cellValue = self.agServerPageGrid.GetCellValue(cellRow, cellCol)          cellValue = self.agServerPageGrid.GetCellValue(cellRow, cellCol)
119    
120          if (cellCol==0 or cellCol==1):          if (cellCol==0):
121              if (cellValue =='0'):              self.agServerPageGrid.SetCellValue(cellRow, cellCol, `1 - int(cellValue)`)
                 self.agServerPageGrid.SetCellValue(cellRow,cellCol, '1')  
             else:  
                 self.agServerPageGrid.SetCellValue(cellRow,cellCol, '0')  
122    
123          return          return
124    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3