Skip to content
Permalink
Browse files

Use proper method to show line numbers in Virtual Layers SQL editor

  • Loading branch information
nyalldawson committed Oct 13, 2020
1 parent 88726e9 commit 66226f6b6b8acd124c2c553270e8c50c5cd3dc72
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/providers/virtual/qgsvirtuallayersourceselect.cpp
@@ -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 );

0 comments on commit 66226f6

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