Skip to content
Permalink
Browse files

show line numbers in the query are of the virtual layer dialog (fix #…

  • Loading branch information
alexbruy authored and nyalldawson committed Jul 30, 2020
1 parent c942185 commit 510c61ef1b22dabe2419f1d192368c67a59a4141
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/virtual/qgsvirtuallayersourceselect.cpp
@@ -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 );

0 comments on commit 510c61e

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