Changeset a80e182 in sasview


Ignore:
Timestamp:
Sep 26, 2018 5:53:53 AM (3 months ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_Invariant, ESS_GUI_batch_fitting, ESS_GUI_ordering
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.