Ignore:
Timestamp:
11/30/12 11:07:52 (17 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed category colors in PreviewBrowser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/preview/scanner.py

    r11207 r11213  
    55import sys 
    66 
    7 import os 
    87import logging 
    98 
     
    7675    from .. import scheme 
    7776    from ..canvas import scene 
     77    from ..registry import global_registry 
    7878 
    7979    scheme = scheme.Scheme() 
    8080    scheme.load_from(scheme_file) 
    8181    tmp_scene = scene.CanvasScene() 
     82    tmp_scene.set_registry(global_registry()) 
    8283    tmp_scene.set_scheme(scheme) 
    8384 
Note: See TracChangeset for help on using the changeset viewer.