Ignore:
Timestamp:
03/07/13 15:47:17 (13 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed wrong event type check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/document/schemeedit.py

    r11373 r11389  
    900900            elif etype == QEvent.GraphicsSceneMouseDoubleClick: 
    901901                return self.sceneMouseDoubleClickEvent(event) 
    902             elif etype == QEvent.KeyRelease: 
     902            elif etype == QEvent.KeyPress: 
    903903                return self.sceneKeyPressEvent(event) 
    904904            elif etype == QEvent.KeyRelease: 
Note: See TracChangeset for help on using the changeset viewer.