Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41181 - /branches/tmp/sh/mod-ui/ncurses/src/NCPushButton.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Tue, 02 Oct 2007 09:23:25 -0000
  • Message-id: <20071002092325.597272B08A@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages