]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Corrected tab order for datum cotrols. Now tab order equivalent to creation order.
authorstv <stv@opencascade.com>
Tue, 17 Jan 2006 08:36:13 +0000 (08:36 +0000)
committerstv <stv@opencascade.com>
Tue, 17 Jan 2006 08:36:13 +0000 (08:36 +0000)
src/QDS/QDS_Datum.cxx

index ff3ed8aca976a01e49b6db35694a88d853cb4ae8..860949d63119c50545a0df15017271da2f4a94a8 100644 (file)
@@ -43,6 +43,7 @@ myWid( 0 )
 {
   QHBoxLayout* base = new QHBoxLayout( this );
   base->setAutoAdd( true );
+  setFocusPolicy( StrongFocus );
 }
 
 QDS_Datum::Wrapper::~Wrapper()
@@ -70,6 +71,7 @@ void QDS_Datum::Wrapper::setWidget( QWidget* wid )
   if ( myWid->parent() != this )
     myWid->reparent( this, QPoint( 0, 0 ) );
 
+  setTabOrder( this, myWid );
   setFocusProxy( myWid );
 
   myWid->updateGeometry();