Skip to content
Permalink
Browse files
Re-add mysteriously missing connections for custom env variables chec…
…kbox

- Probably removed during QtDesigner changes to .ui file; code into .cpp file instead
- Possible fix for #6961
  • Loading branch information
dakcarto committed Jan 14, 2013
1 parent 831f99a commit 9182ab2dd0ace922d9b4d1c817529040066b757b
Showing with 12 additions and 0 deletions.
  1. +7 −0 src/app/qgsoptions.cpp
  2. +5 −0 src/app/qgsoptions.h
@@ -1365,6 +1365,13 @@ QStringList QgsOptions::i18nList()
return myList;
}

void QgsOptions::on_mCustomVariablesChkBx_toggled( bool chkd )
{
mAddCustomVarBtn->setEnabled( chkd );
mRemoveCustomVarBtn->setEnabled( chkd );
mCustomVariablesTable->setEnabled( chkd );
}

void QgsOptions::addCustomEnvVarRow( QString varName, QString varVal, QString varApply )
{
int rowCnt = mCustomVariablesTable->rowCount();
@@ -117,6 +117,11 @@ class QgsOptions : public QDialog, private Ui::QgsOptionsBase
/**Remove an URL to exclude from Proxy*/
void on_mRemoveUrlPushButton_clicked();

/** Slot to enable custom environment variables table and buttons
* @note added in QGIS 1.9
*/
void on_mCustomVariablesChkBx_toggled( bool chkd );

/** Slot to add a custom environment variable to the app
* @note added in QGIS 1.9
*/

0 comments on commit 9182ab2

Please sign in to comment.