Author: lslezak Date: Thu Oct 6 14:52:37 2011 New Revision: 66295 URL: http://svn.opensuse.org/viewcvs/yast?rev=66295&view=rev Log: fixed edit of a broken joystick config Modified: branches/tmp/lslezak/sound/sound/src/joy_dialog.ycp Modified: branches/tmp/lslezak/sound/sound/src/joy_dialog.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/sound/sound/src/joy_dialog.ycp?rev=66295&r1=66294&r2=66295&view=diff ============================================================================== --- branches/tmp/lslezak/sound/sound/src/joy_dialog.ycp (original) +++ branches/tmp/lslezak/sound/sound/src/joy_dialog.ycp Thu Oct 6 14:52:37 2011 @@ -764,8 +764,9 @@ if (is_broken(device)) { - key = Joystick::joystick[num, "attached_to"]:""; num = broken_index(device); + map j = Joystick::joystick[num]:$[]; + key = j["attached_to"]:""; } else { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org