Show
Ignore:
Timestamp:
04/28/12 00:19:31 (9 years ago)
Author:
jwoithe
Message:

audiofire: possibly fix a bug introduced in r2129. This needs testing by someone with an audiofire.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer-qt4/ffado/mixer/audiofire.py

    r2129 r2130  
    284284        self.SPDIFmodeControls[settings.radioProfessional] = ["/SpdifMode", 1] 
    285285 
     286        # Store a reference to the "save" button for later manipulation 
     287        self.btnSaveSettings = settings.btnSaveSettings 
     288 
    286289    def polledUpdate(self): 
    287290        ss = self.streamingstatus.selected() 
     
    293296            # The device doesn't cope very well if "save settings" is done 
    294297            # while streaming is active 
    295             settings.btnSaveSettings.setEnabled(ss_txt=='Idle') 
     298            self.btnSaveSettings.setEnabled(ss_txt=='Idle') 
    296299 
    297300        self.streaming_state = ss