Skip to content

Commit ce0d6a2

Browse files
author
gsherman
committed
Improved layout of dialog.
Removed the MinScale and MaxScale fields from the dialog. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5775 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a95961d commit ce0d6a2

File tree

2 files changed

+349
-304
lines changed

2 files changed

+349
-304
lines changed

tools/mapserver_export/qgsmapserverexport.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ void QgsMapserverExport::on_chkExpLayersOnly_clicked(bool isChecked)
8383
txtMapHeight->setEnabled(!isChecked);
8484
cmbMapUnits->setEnabled(!isChecked);
8585
cmbMapImageType->setEnabled(!isChecked);
86-
txtMinScale->setEnabled(!isChecked);
87-
txtMaxScale->setEnabled(!isChecked);
86+
//txtMinScale->setEnabled(!isChecked);
87+
//txtMaxScale->setEnabled(!isChecked);
8888
txtWebTemplate->setEnabled(!isChecked);
8989
txtWebHeader->setEnabled(!isChecked);
9090
txtWebFooter->setEnabled(!isChecked);
@@ -130,7 +130,6 @@ void QgsMapserverExport::on_buttonOk_clicked()
130130
pargs = Py_BuildValue("(ssssssssss)",
131131
cmbMapUnits->currentText().ascii(), cmbMapImageType->currentText().ascii(),
132132
txtMapName->text().ascii(), txtMapWidth->text().ascii(), txtMapHeight->text().ascii(),
133-
txtMinScale->text().ascii(), txtMaxScale->text().ascii(),
134133
txtWebTemplate->text().ascii(), txtWebFooter->text().ascii(),txtWebHeader->text().ascii());
135134
pstr = PyEval_CallObject(pmeth, pargs);
136135

0 commit comments

Comments
 (0)