Ignore:
Timestamp:
02/13/13 11:43:04 (14 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fix a test when the WidgetsToolBox widget outlives the model's actions.

Also added a warning to setModel's docstring about the life time of the
model.

File:
1 edited

Legend:

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

    r11254 r11309  
    6161        """Set a model (`QStandardItemModel`) for the tool grid. The 
    6262        widget actions are children of the rootIndex. 
     63 
     64        .. warning:: The model should not be deleted before the 
     65                     `WidgetToolGrid` instance. 
    6366 
    6467        """ 
Note: See TracChangeset for help on using the changeset viewer.