Skip to content

Commit

Permalink
fix scale widget and dxf export
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 12, 2015
1 parent 5b38262 commit fa903dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsdxfexportdialog.cpp
Expand Up @@ -438,7 +438,7 @@ QList< QPair<QgsVectorLayer *, int> > QgsDxfExportDialog::layers() const

double QgsDxfExportDialog::symbologyScale() const
{
double scale = mScaleWidget->scale();
double scale = 1/mScaleWidget->scale();
if ( qgsDoubleNear( scale, 0.0 ) )
{
return 1.0;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsscalewidget.cpp
Expand Up @@ -62,7 +62,7 @@ void QgsScaleWidget::setScaleFromCanvas()
if ( !mCanvas )
return;

setScale( mCanvas->scale() );
setScale( 1/mCanvas->scale() );
}


Expand Down

0 comments on commit fa903dd

Please sign in to comment.