Changeset 062c9ea in sasview


Ignore:
Timestamp:
Apr 5, 2018 2:10:18 AM (7 years ago)
Author:
wojciech
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
a8e368b
Parents:
5818dae
Message:

removed save button again as it doesn't work from installer. Print should work now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/report_dialog.py

    r5818dae r062c9ea  
    7878                          id=button_print.GetId()) 
    7979        hbox.Add(button_print) 
    80  
    81         button_save = wx.Button(self, wx.NewId(), "Save") 
    82         button_save.SetToolTipString("Save this report.") 
    83         button_save.Bind(wx.EVT_BUTTON, self.onSave, id=button_save.GetId()) 
    84         hbox.Add(button_save) 
     80         
     81        if sys.platform == "win32": 
     82            button_save = wx.Button(self, wx.NewId(), "Save") 
     83            button_save.SetToolTipString("Save this report.") 
     84            button_save.Bind(wx.EVT_BUTTON, self.onSave, id=button_save.GetId()) 
     85            hbox.Add(button_save) 
    8586 
    8687        # panel for report page 
Note: See TracChangeset for help on using the changeset viewer.