Changeset 11493:1afbda175fac in orange


Ignore:
Timestamp:
05/08/13 19:58:07 (11 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Activate an item on a click (an not just a press).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/gui/tooltree.py

    r11370 r11493  
    5656 
    5757        view.activated.connect(self.__onActivated) 
    58         view.pressed.connect(self.__onPressed) 
     58        view.clicked.connect(self.__onActivated) 
    5959        view.entered.connect(self.__onEntered) 
    6060 
     
    144144                action.trigger() 
    145145                self.triggered.emit(action) 
    146  
    147     def __onPressed(self, index): 
    148         self.__onActivated(index) 
    149146 
    150147    def __onEntered(self, index): 
Note: See TracChangeset for help on using the changeset viewer.