hughesadam87 / PAME

Personal programs for fiber optic nanobiosensing simulations.
Other
5 stars 5 forks source link

Figure out help buttons #18

Open hughesadam87 opened 9 years ago

hughesadam87 commented 9 years ago

Traits have help button, but when click:

buttons = [ 'Undo', 'OK', 'Cancel', 'Help' ]
NameError: global name 'event' is not defined
Traceback (most recent call last):
  File "/home/glue/anaconda/envs/fibersim/lib/python2.7/site-packages/traitsui/qt4/ui_base.py", line 246, in _on_help
    self.ui.handler.show_help(self.ui.info, event.GetEventObject())
NameError: global name 'event' is not defined
Traceback (most recent call last):
  File "/home/glue/anaconda/envs/fibersim/lib/python2.7/site-packages/traitsui/qt4/ui_base.py", line 246, in _on_help
    self.ui.handler.show_help(self.ui.info, event.GetEventObject())
NameError: global name 'event' is not defined

Don't know how to hookup.

Also, can I get an undo button to work on all materials in general?