Changeset 2a24d55 in sasview


Ignore:
Timestamp:
Mar 26, 2018 4:57:13 AM (4 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:
5818dae
Parents:
b09aee8
Message:

Removing report button from OSX

File:
1 edited

Legend:

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

    r69a6897 r2a24d55  
    7575        hbox.Add(button_print) 
    7676 
    77         button_save = wx.Button(self, wx.NewId(), "Save") 
    78         button_save.SetToolTipString("Save this report.") 
    79         button_save.Bind(wx.EVT_BUTTON, self.onSave, id=button_save.GetId()) 
    80         hbox.Add(button_save) 
     77        if sys.platform == "win32": 
     78            button_save = wx.Button(self, wx.NewId(), "Save") 
     79            button_save.SetToolTipString("Save this report.") 
     80            button_save.Bind(wx.EVT_BUTTON, self.onSave, id=button_save.GetId()) 
     81            hbox.Add(button_save) 
    8182 
    8283        # panel for report page 
Note: See TracChangeset for help on using the changeset viewer.