Changeset 9177:84caca736a13 in orange


Ignore:
Timestamp:
11/07/11 15:26:22 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
44b7cb7ada24422598009be291a3e8892110adc1
Message:

Set Qt.StrongFocus policy on OWBaseWidget, otherwise the keyPressEvent does not get called if the widget has no enabled children which have a non default focus policy. Fixes #1000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWBaseWidget.py

    r8890 r9177  
    154154 
    155155        self.setCaption(title.replace("&","")) # used for widget caption 
     156        self.setFocusPolicy(Qt.StrongFocus) 
    156157 
    157158        # number of control signals, that are currently being processed 
Note: See TracChangeset for help on using the changeset viewer.