From: <tr...@ff...> - 2013-06-15 15:17:06
|
Author: philippe Date: 2013-06-15 08:16:56 -0700 (Sat, 15 Jun 2013) New Revision: 2327 Modified: trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py Log: MatrixMixer Fix the crash on mixer setting reload. Modified: trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py =================================================================== --- trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py 2013-06-15 15:14:58 UTC (rev 2326) +++ trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py 2013-06-15 15:16:56 UTC (rev 2327) @@ -594,11 +594,11 @@ self.matrix.items[n[0]][n[1]].setValue(n[2]) def refreshValues(self): - for x in range(len(self.items)): - for y in range(len(self.items[x])): + for x in range(len(self.matrix.items)): + for y in range(len(self.matrix.items[x])): val = self.interface.getValue(x,y) - self.items[x][y].setValue(val) - self.items[x][y].internalValueChanged(val) + self.matrix.items[x][y].setValue(val) + self.matrix.items[x][y].internalValueChanged(val) def getNbIn(self): if (self.rule == "Columns_are_inputs"): |