Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use proper method to show line numbers in Virtual Layers SQL editor
  • Loading branch information
nyalldawson committed Oct 13, 2020
1 parent 88726e9 commit 66226f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/providers/virtual/qgsvirtuallayersourceselect.cpp
Expand Up @@ -43,8 +43,7 @@ QgsVirtualLayerSourceSelect::QgsVirtualLayerSourceSelect( QWidget *parent, Qt::W
setupUi( this );
setupButtons( buttonBox );

mQueryEdit->setMarginWidth( 1, QStringLiteral( "000" ) );
mQueryEdit->setMarginLineNumbers( 1, true );
mQueryEdit->setLineNumbersVisible( true );

connect( mTestButton, &QAbstractButton::clicked, this, &QgsVirtualLayerSourceSelect::testQuery );
connect( mBrowseCRSBtn, &QAbstractButton::clicked, this, &QgsVirtualLayerSourceSelect::browseCRS );
Expand Down

0 comments on commit 66226f6

Please sign in to comment.