Author: mzugec Date: Mon Aug 4 15:31:27 2008 New Revision: 49638 URL: http://svn.opensuse.org/viewcvs/yast?rev=49638&view=rev Log: replace widget only if such exists Modified: trunk/yast2/library/wizard/src/Progress.ycp Modified: trunk/yast2/library/wizard/src/Progress.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/wizard/src/Progress.ycp?rev=49638&r1=49637&r2=49638&view=diff ============================================================================== --- trunk/yast2/library/wizard/src/Progress.ycp (original) +++ trunk/yast2/library/wizard/src/Progress.ycp Mon Aug 4 15:31:27 2008 @@ -489,7 +489,8 @@ } } - UI::ReplaceWidget (`id (`contents), bar); + // patch from Michal Srb https://bugzilla.novell.com/show_bug.cgi?id=406890#c7 + if (UI::WidgetExists (`id (`contents))) UI::ReplaceWidget (`id (`contents), bar); if (! UI::WizardCommand(`SetDialogHeading( window_title ) ) ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org