Author: aschnell Date: Tue Nov 18 18:26:26 2008 New Revision: 53393 URL: http://svn.opensuse.org/viewcvs/yast?rev=53393&view=rev Log: - stupid Next/Finish button update Modified: trunk/storage/storage/src/include/ep-dialogs.ycp Modified: trunk/storage/storage/src/include/ep-dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-dialogs.ycp?rev=53393&r1=53392&r2=53393&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-dialogs.ycp (original) +++ trunk/storage/storage/src/include/ep-dialogs.ycp Tue Nov 18 18:26:26 2008 @@ -215,8 +215,9 @@ break; } - case `crypt_fs: - MiniWorkflow::SetLastStep(UI::QueryWidget(`id(`crypt_fs), `Value) != true); + case `crypt_fs: + crypt_fs = (boolean) UI::QueryWidget(`id(`crypt_fs), `Value); + MiniWorkflow::SetLastStep(!AskPassword()); break; /* already done in HandlePartWidgetChanges @@ -246,13 +247,13 @@ UI::ChangeWidget(`id(`do_format_attachment), `Enabled, true); UI::ChangeWidget(`id(`do_not_format_attachment), `Enabled, false); - MiniWorkflow::SetLastStep(UI::QueryWidget(`id(`crypt_fs), `Value) != true); + MiniWorkflow::SetLastStep(!AskPassword()); break; case `do_not_format: UI::ChangeWidget(`id(`do_format_attachment), `Enabled, false); UI::ChangeWidget(`id(`do_not_format_attachment), `Enabled, true); - MiniWorkflow::SetLastStep(true); + MiniWorkflow::SetLastStep(!AskPassword()); break; case `fsid_point: -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org