Skip to content
Permalink
Browse files

[raster calc] use a monospace font for the expression editor (fixes #…

  • Loading branch information
nirvn committed Feb 8, 2018
1 parent 605bb75 commit 90e353bc1cc3299dcc40ed84f4829484a8c9053d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsrastercalcdialog.cpp
@@ -26,6 +26,7 @@
#include "gdal.h"

#include <QFileDialog>
#include <QFontDatabase>

QgsRasterCalcDialog::QgsRasterCalcDialog( QWidget *parent, Qt::WindowFlags f ): QDialog( parent, f )
{
@@ -74,6 +75,8 @@ QgsRasterCalcDialog::QgsRasterCalcDialog( QWidget *parent, Qt::WindowFlags f ):
//grab default crs from first raster
mCrsSelector->setCrs( mAvailableRasterBands.at( 0 ).raster->crs() );
}

mExpressionTextEdit->setCurrentFont( QFontDatabase::systemFont( QFontDatabase::FixedFont ) );
}

QgsRasterCalcDialog::~QgsRasterCalcDialog()

0 comments on commit 90e353b

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