Ignore:
Timestamp:
Oct 31, 2018 12:20:00 AM (4 years ago)
Author:
toby
Message:

add warning for plot atoms ops w/o atom selection; bug: message not centered on parent, though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r3710 r3714  
    20672067    '''Simple code to display a error or warning message
    20682068    '''
    2069     dlg = wx.MessageDialog(parent,StripIndents(msg), title, wx.OK)
     2069    dlg = wx.MessageDialog(parent,StripIndents(msg), title, wx.OK|wx.CENTRE)
     2070    dlg.CentreOnParent()
    20702071    dlg.ShowModal()
    20712072    dlg.Destroy()
Note: See TracChangeset for help on using the changeset viewer.