Skip to content

Commit

Permalink
Removed finish photo and finish strip buttons.
Browse files Browse the repository at this point in the history
Fixed Passings button.
  • Loading branch information
esitarski committed Aug 1, 2024
1 parent 09ed7f9 commit 0061c91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Primes.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ def __init__( self, parent, id=wx.ID_ANY, size=wx.DefaultSize ):
self.grid.AutoSizeRows( False )

#---------------------------------------------------------------
self.photosButton = wx.Button( self, label='{}...'.format(_('Photos')) )
self.photosButton.Bind( wx.EVT_BUTTON, self.onPhotos )
self.finishStrip = wx.Button( self, label='{}...'.format(_('Finish Strip')) )
self.finishStrip.Bind( wx.EVT_BUTTON, self.onFinishStrip )
#self.photosButton = wx.Button( self, label='{}...'.format(_('Photos')) )
#self.photosButton.Bind( wx.EVT_BUTTON, self.onPhotos )
#self.finishStrip = wx.Button( self, label='{}...'.format(_('Finish Strip')) )
#self.finishStrip.Bind( wx.EVT_BUTTON, self.onFinishStrip )
self.history = wx.Button( self, label='{}...'.format(_('Passings')) )
self.history.Bind( wx.EVT_BUTTON, self.onHistory )

Expand All @@ -115,8 +115,8 @@ def __init__( self, parent, id=wx.ID_ANY, size=wx.DefaultSize ):
self.deleteButton.SetToolTip( wx.ToolTip(_('Delete a Prime')) )
self.deleteButton.Bind( wx.EVT_BUTTON, self.onDelete )
hsButtons = wx.BoxSizer( wx.HORIZONTAL )
hsButtons.Add( self.photosButton, flag=wx.ALL, border=4 )
hsButtons.Add( self.finishStrip, flag=wx.ALL, border=4 )
#hsButtons.Add( self.photosButton, flag=wx.ALL, border=4 )
#hsButtons.Add( self.finishStrip, flag=wx.ALL, border=4 )
hsButtons.Add( self.history, flag=wx.ALL, border=4 )
hsButtons.AddStretchSpacer()
hsButtons.Add( self.newButton, flag=wx.ALL, border=4 )
Expand Down Expand Up @@ -176,7 +176,7 @@ def onHistory( self, event ):
mainWin = Utils.getMainWin()
if not mainWin:
return
mainWin.openMenuWindow( 'Passings' )
mainWin.openMenuWindow( 'history' )

def selectGridRow( self, row ):
self.grid.SelectRow( row )
Expand Down
2 changes: 1 addition & 1 deletion Version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
AppVerName="CrossMgr 3.1.59-private"
AppVerName="CrossMgr 3.1.60-private"

0 comments on commit 0061c91

Please sign in to comment.