Changeset 5039:e8f2fbbf9100 in orange


Ignore:
Timestamp:
07/31/08 15:40:30 (6 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
b30e5d4112f6a6c0fc6636f9255a56d2cd73c597
Message:
  • radioButtons were not connected to callback (not even to the one updating the attribute value!) unless there was also a user-given callback!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWGUI.py

    r4993 r5039  
    483483        appendRadioButton(bg, master, value, btnLabels[i], tooltips and tooltips[i], callback = callback) 
    484484 
    485     if callback != None: 
    486         connectControl(bg.group, master, value, callback, "buttonClicked (int)", CallFrontRadioButtons(bg), CallBackRadioButton(bg, master)) 
     485    connectControl(bg.group, master, value, callback, "buttonClicked (int)", CallFrontRadioButtons(bg), CallBackRadioButton(bg, master)) 
    487486 
    488487    if debuggingEnabled: 
Note: See TracChangeset for help on using the changeset viewer.