[yast-commit] r59733 - /trunk/autoinstallation/src/modules/AutoInstallRules.ycp
Author: ug Date: Tue Nov 24 14:42:38 2009 New Revision: 59733 URL: http://svn.opensuse.org/viewcvs/yast?rev=59733&view=rev Log: fix for locked rules in dialogs Modified: trunk/autoinstallation/src/modules/AutoInstallRules.ycp Modified: trunk/autoinstallation/src/modules/AutoInstallRules.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoInstallRules.ycp?rev=59733&r1=59732&r2=59733&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoInstallRules.ycp (original) +++ trunk/autoinstallation/src/modules/AutoInstallRules.ycp Tue Nov 24 14:42:38 2009 @@ -624,7 +624,9 @@ map<integer,integer> conflictsCounter = $[]; foreach ( map<string, map> rule, rulelist, ``{ if( haskey( rule, "dialog" ) ) { - string file = rule["result","profile"]:""; + element_nr = rule["dialog","element"]:element_nr; + string file = element2file[element_nr]:""; + element_nr = element_nr + 1; if( contains(tomerge, file) ) { foreach( integer c, rule["dialog","conflicts"]:[], ``{ conflictsCounter[c] = conflictsCounter[c]:0 + 1; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn.opensuse.org