Ignore:
Timestamp:
May 23, 2018 10:28:09 AM (4 years ago)
Author:
vondreele
Message:

fix Constraints problem when no histograms (or phases)
display new BNS lattice after change in TransformDialog?
Make magnetic now a Button
fix SyteSym? & mult after space group/BNS change - new UpdateSytSym? routine in G2spc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIconstrGUI.py

    r3396 r3397  
    146146    ###################################################
    147147    Histograms,Phases = G2frame.GetUsedHistogramsAndPhasesfromTree()
     148    if not len(Phases) or not len(Histograms):
     149        dlg = wx.MessageDialog(G2frame,'You need both phases and histograms to see Constraints',
     150            'No phases or histograms')
     151        dlg.CenterOnParent()
     152        dlg.ShowModal()
     153        dlg.Destroy()
     154        return
    148155    G2obj.IndexAllIds(Histograms,Phases)
    149156    ##################################################################################
Note: See TracChangeset for help on using the changeset viewer.