[yast-commit] r41181 - /branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc
![](https://seccdn.libravatar.org/avatar/9d45ad4c714db4d170a42527a4a6b8dc.jpg?s=120&d=mm&r=g)
Author: gs Date: Tue Oct 2 11:23:24 2007 New Revision: 41181 URL: http://svn.opensuse.org/viewcvs/yast?rev=41181&view=rev Log: call setKeyboardFocus() in setSize() Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc?rev=41181&r1=41180&r2=41181&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc Tue Oct 2 11:23:24 2007 @@ -83,7 +83,9 @@ // void NCPushButton::setSize( int newwidth, int newheight ) { - wRelocate( wpos( 0 ), wsze( newheight, newwidth ) ); + wRelocate( wpos( 0 ), wsze( newheight, newwidth ) ); + if ( isDefaultButton() ) + setKeyboardFocus(); } /////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org