Skip to content

Commit

Permalink
show line numbers in the query are of the virtual layer dialog (fix q…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and nyalldawson committed Jul 30, 2020
1 parent c942185 commit 510c61e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/virtual/qgsvirtuallayersourceselect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ QgsVirtualLayerSourceSelect::QgsVirtualLayerSourceSelect( QWidget *parent, Qt::W
setupUi( this );
setupButtons( buttonBox );

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

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

0 comments on commit 510c61e

Please sign in to comment.