Skip to content
Permalink
Browse files

explicitly set widget focus in constructor

  • Loading branch information
uclaros authored and nyalldawson committed Jan 19, 2020
1 parent bfe08c6 commit 9b4a824e27e7f36d073d1b0fb901922750359954
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsaddattrdialog.cpp
@@ -58,6 +58,8 @@ QgsAddAttrDialog::QgsAddAttrDialog( QgsVectorLayer *vlayer, QWidget *parent, Qt:

if ( mIsShapeFile )
mNameEdit->setMaxLength( 10 );

mNameEdit->setFocus();
}

void QgsAddAttrDialog::mTypeBox_currentIndexChanged( int idx )

0 comments on commit 9b4a824

Please sign in to comment.
You can’t perform that action at this time.