Changeset 3291


Ignore:
Timestamp:
Feb 19, 2018 1:08:27 PM (4 years ago)
Author:
toby
Message:

Make sure General always displays appropriate menus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3287 r3291  
    91929192    if G2frame.lastSelectedPhaseTab in Pages:
    91939193        ind = Pages.index(G2frame.lastSelectedPhaseTab)
    9194         UpdateGeneral(SkipDraw=ind)
    9195         G2frame.phaseDisplay.SetSelection(ind)
    9196     else:
    9197         ChangePage(0)
     9194        if ind:
     9195            UpdateGeneral(SkipDraw=ind)
     9196            G2frame.phaseDisplay.SetSelection(ind)
     9197            return
     9198    ChangePage(0)
Note: See TracChangeset for help on using the changeset viewer.