Author: tgoettlicher Date: Thu May 15 12:57:24 2008 New Revision: 47557 URL: http://svn.opensuse.org/viewcvs/yast?rev=47557&view=rev Log: Fixed focus of popups (#bnc 384905) Modified: trunk/qt/package/yast2-qt.changes trunk/qt/src/YQDialog.cc Modified: trunk/qt/package/yast2-qt.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=47557&r1=47556&r2=47557&view=diff ============================================================================== --- trunk/qt/package/yast2-qt.changes (original) +++ trunk/qt/package/yast2-qt.changes Thu May 15 12:57:24 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu May 15 12:55:49 CEST 2008 - tgoettlicher@suse.de + +- Fixed focus of popups (#bnc 384905) + +------------------------------------------------------------------- Wed May 14 16:15:19 CEST 2008 - sh@suse.de - Fixed bnc #386446: Help button still English Modified: trunk/qt/src/YQDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.cc?rev=47557&r1=47556&r2=47557&view=diff ============================================================================== --- trunk/qt/src/YQDialog.cc (original) +++ trunk/qt/src/YQDialog.cc Thu May 15 12:57:24 2008 @@ -112,6 +112,9 @@ { QWidget * parent = YQMainWinDock::mainWinDock()->window(); + if ( dialogType == YPopupDialog) + parent = (QWidget *) YDialog::currentDialog()->widgetRep(); + if ( ( dialogType == YMainDialog || dialogType == YWizardDialog ) && YQMainWinDock::mainWinDock()->couldDock() ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org