Changeset 3597:c7d6bdd282d9 in orange


Ignore:
Timestamp:
04/26/07 23:33:26 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
8e097f0dd06ec06ee4bd243665ebcb4de8eb9a1d
Message:
  • connected the up and down buttons in spin box
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWGUI.py

    r3560 r3597  
    156156        master.connect(wa.editor(), SIGNAL("returnPressed()"), wa.onEnter) 
    157157        master.connect(wa.enterButton, SIGNAL("clicked()"), wa.onEnter) 
     158        master.connect(wa.upButton(), SIGNAL("clicked()"), lambda c=wa.editor(): c.setFocus()) 
     159        master.connect(wa.downButton(), SIGNAL("clicked()"), lambda c=wa.editor(): c.setFocus()) 
    158160 
    159161    if posttext: 
     
    860862                self.acyclic_setattr(value) 
    861863            except: 
    862                 print "OWGUI.ValueCallback: %s", value 
     864                print "OWGUI.ValueCallback: %s" % value 
    863865#                traceback.print_exception(*sys.exc_info()) 
    864866 
Note: See TracChangeset for help on using the changeset viewer.