Changeset 8572:95aa19f469dc in orange


Ignore:
Timestamp:
08/02/11 12:42:58 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
1da576a5a1ea9025eba6b7c0c2b063ace3f6862c
Message:

Emit the selection_changed signal when all points are unselected

Files:
2 edited

Legend:

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

    r8571 r8572  
    907907            if point_item: 
    908908                point_item.set_selected(b == self.AddSelection or (b == self.ToggleSelection and not point_item.is_selected())) 
    909                 self.selection_changed.emit() 
     909            self.selection_changed.emit() 
    910910        else: 
    911911            return False 
  • source/orangeplot/plot.cpp

    r8571 r8572  
    345345        } 
    346346    } 
     347    emit selection_changed(); 
    347348    qDebug() << "Unselected" << i << "points"; 
    348349} 
Note: See TracChangeset for help on using the changeset viewer.