Ignore:
Timestamp:
03/22/13 15:02:52 (13 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed default colors for nodes in the canvas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/registry/qt.py

    r11393 r11440  
    2121from ..resources import icon_loader 
    2222 
    23 from . import cache, NAMED_COLORS 
     23from . import cache, NAMED_COLORS, DEFAULT_COLOR 
    2424 
    2525 
     
    219219            background = desc.background 
    220220        else: 
    221             background = "light-yellow" 
     221            background = DEFAULT_COLOR 
    222222 
    223223        background = NAMED_COLORS.get(background, background) 
     
    254254        elif category.background: 
    255255            background = category.background 
     256        else: 
     257            background = DEFAULT_COLOR 
    256258 
    257259        if background is not None: 
Note: See TracChangeset for help on using the changeset viewer.