Ignore:
Timestamp:
04/23/13 17:24:23 (12 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Use pause/resume interface of base SignalManager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/application/canvasmain.py

    r11468 r11469  
    940940        manager = new_scheme.signal_manager 
    941941        if self.freeze_action.isChecked(): 
    942             manager.freeze().push() 
     942            manager.pause() 
    943943 
    944944        scheme_doc.setScheme(new_scheme) 
     
    13211321    def set_signal_freeze(self, freeze): 
    13221322        scheme = self.current_document().scheme() 
     1323        manager = scheme.signal_manager 
    13231324        if freeze: 
    1324             scheme.signal_manager.freeze().push() 
     1325            manager.pause() 
    13251326        else: 
    1326             scheme.signal_manager.freeze().pop() 
     1327            manager.resume() 
    13271328 
    13281329    def remove_selected(self): 
Note: See TracChangeset for help on using the changeset viewer.