Ignore:
Timestamp:
01/14/13 12:43:42 (15 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Set the channel names visiblity state from the settings.

File:
1 edited

Legend:

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

    r11257 r11259  
    589589            settings.value("quick-help/visible", True).toBool() 
    590590        ) 
     591 
     592        self.__update_from_settings() 
    591593 
    592594    def set_document_title(self, title): 
     
    14841486        self.scheme_widget.setQuickMenuTriggers(triggers) 
    14851487 
     1488        settings.endGroup() 
     1489        settings.beginGroup("schemeedit") 
     1490        show_channel_names = settings.value("show-channel-names", 
     1491                                            defaultValue=True) 
     1492        self.scheme_widget.setChannelNamesVisible(show_channel_names.toBool()) 
     1493 
    14861494 
    14871495def updated_flags(flags, mask, state): 
Note: See TracChangeset for help on using the changeset viewer.