[yast-commit] r51654 - in /trunk/bootloader: package/yast2-bootloader.changes src/generic/dialogs.ycp
Author: jsrain Date: Mon Sep 29 15:46:03 2008 New Revision: 51654 URL: http://svn.opensuse.org/viewcvs/yast?rev=51654&view=rev Log: avoid mixing options of different bootloader after loaded type change Modified: trunk/bootloader/package/yast2-bootloader.changes trunk/bootloader/src/generic/dialogs.ycp Modified: trunk/bootloader/package/yast2-bootloader.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/package/yast2-bootloader.changes?rev=51654&r1=51653&r2=51654&view=diff ============================================================================== --- trunk/bootloader/package/yast2-bootloader.changes (original) +++ trunk/bootloader/package/yast2-bootloader.changes Mon Sep 29 15:46:03 2008 @@ -1,7 +1,9 @@ ------------------------------------------------------------------- -Mon Sep 29 14:55:55 CEST 2008 - jsrain@suse.cz +Mon Sep 29 15:45:41 CEST 2008 - jsrain@suse.cz - fixed no scrren contents after changing loader type (bnc #427622) +- avoid mixing options of different bootloader after loaded type + change ------------------------------------------------------------------- Thu Sep 25 17:44:24 CEST 2008 - juhliarik@suse.cz Modified: trunk/bootloader/src/generic/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/bootloader/src/generic/dialogs.ycp?rev=51654&r1=51653&r2=51654&view=diff ============================================================================== --- trunk/bootloader/src/generic/dialogs.ycp (original) +++ trunk/bootloader/src/generic/dialogs.ycp Mon Sep 29 15:46:03 2008 @@ -50,6 +50,10 @@ global void importMetaData() { BootCommon::exports = BootCommon::GetMetaData (); + // clean option list, otherwise options of different bootloaders + // get mixed after bootloader switch + BootCommon::global_options = $[]; + BootCommon::section_options = $[]; // Extract type descriptions from exports foreach(string key, any value, BootCommon::exports, { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsrain@svn.opensuse.org