Ignore:
Timestamp:
Sep 26, 2018 5:53:53 AM (6 years ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
aa333e3
Parents:
8eea1b1
Message:

Reverting menu items on OSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/MainWindow.py

    r3d18691 ra80e182  
    66from PyQt5.QtWidgets import QApplication 
    77from PyQt5.QtGui import QPixmap 
    8  
     8import sys 
    99# Local UI 
    1010from sas.qtgui.UI import main_resources_rc 
     
    2020        self.workspace = QMdiArea(self) 
    2121        self.setCentralWidget(self.workspace) 
     22 
     23        # Temporary solution for problem with menubar on Mac 
     24        if sys.platform == "darwin":  # Mac 
     25            self.menubar.setNativeMenuBar(False) 
    2226 
    2327        # Create the gui manager 
Note: See TracChangeset for help on using the changeset viewer.