Changeset 8223:10fcfb9a4cd4 in orange


Ignore:
Timestamp:
08/18/11 18:01:10 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
49d2e0b123caf9253c5a31a7759cdcbfdd8fab99
Message:

Fix signal-slot connection so that state buttons remain down when selected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owplotgui.py

    r8214 r8223  
    120120        for i in buttons: 
    121121            b = gui.tool_button(i, self) 
    122             QObject.connect(self, SIGNAL("clicked(bool)"), self.button_clicked) 
     122            QObject.connect(b, SIGNAL("clicked(bool)"), self.button_clicked) 
    123123            self.buttons[i] = b 
    124124            self.layout().addWidget(b) 
Note: See TracChangeset for help on using the changeset viewer.