Changeset 2623


Ignore:
Timestamp:
Jan 11, 2017 3:08:36 PM (5 years ago)
Author:
vondreele
Message:

Allow multisplit Phase frames in debug mode only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r2622 r2623  
    80848084    G2frame.dataFrame.SetLabel('Phase Data for '+PhaseName)
    80858085    G2frame.dataFrame.CreateStatusBar()
    8086     G2frame.dataDisplay = G2G.GSNoteBook(parent=G2frame.dataFrame,size=G2frame.dataFrame.GetClientSize(),
    8087         style=wx.aui.AUI_NB_DEFAULT_STYLE ^ wx.aui.AUI_NB_CLOSE_ON_ACTIVE_TAB)
     8086    if GSASIIpath.GetConfigValue('debug'):
     8087        G2frame.dataDisplay = G2G.GSNoteBook(parent=G2frame.dataFrame,size=G2frame.dataFrame.GetClientSize(),
     8088            style=wx.aui.AUI_NB_DEFAULT_STYLE ^ wx.aui.AUI_NB_CLOSE_ON_ACTIVE_TAB)
     8089    else:
     8090        G2frame.dataDisplay = G2G.GSNoteBook(parent=G2frame.dataFrame,size=G2frame.dataFrame.GetClientSize())
    80888091    G2frame.dataDisplay.gridList = [] # list of all grids in notebook
    80898092    Pages = []   
Note: See TracChangeset for help on using the changeset viewer.