Author: benjimanw Date: Sat Apr 19 13:03:10 2008 New Revision: 46874 URL: http://svn.opensuse.org/viewcvs/yast?rev=46874&view=rev Log: Disable back button when on first step of wizard. Pointed out by Beineri. Modified: trunk/metapackage/src/OneClickInstallUI.ycp Modified: trunk/metapackage/src/OneClickInstallUI.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/OneClickInstallUI.ycp?rev=46874&r1=46873&r2=46874&view=diff ============================================================================== --- trunk/metapackage/src/OneClickInstallUI.ycp (original) +++ trunk/metapackage/src/OneClickInstallUI.ycp Sat Apr 19 13:03:10 2008 @@ -283,6 +283,14 @@ define void show_step(integer no) { + if (no == 0) + { + Wizard::DisableBackButton(); + } else + { + Wizard::EnableBackButton(); + } + string current_id = (installation_steps[ no ]:nil)["id"]:""; if (is_done(no)) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org