Ignore:
Timestamp:
04/22/13 14:53:16 (12 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed CanvasScene clear/reset.

Disconnect all SchemeNodes/Links/Annotations from their corresponding
graphics items in the CanvasScene.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/document/schemeedit.py

    r11451 r11464  
    554554            ) 
    555555 
    556             self.__scene.clear() 
    557556            self.__scene.removeEventFilter(self) 
     557 
     558            # Clear all items from the scene 
     559            self.__scene.clear_scene() 
     560 
    558561            self.__scene.deleteLater() 
    559562 
Note: See TracChangeset for help on using the changeset viewer.