Skip to content
Permalink
Browse files

Fix for bug #2384. Ok and Cancel buttons now work on the add

new oracle raster connection dialog.

git-svn-id: http://svn.osgeo.org/qgis/trunk@12819 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Jan 22, 2010
1 parent cec0413 commit af0f565f662a9ff59450728b444b640e0c54fdc9
@@ -51,12 +51,16 @@ QgsOracleConnect::~QgsOracleConnect()
{
}

void QgsOracleConnect::on_btnCancel_clicked()
void QgsOracleConnect::on_buttonBox_rejected()
{
helpInfo();
// cancel button mapped to context help - changed this to close the
// dialog instead. If context help is to be added, a Help button
// is required. - gsherman
// helpInfo();
reject();
}

void QgsOracleConnect::on_btnOk_clicked()
void QgsOracleConnect::on_buttonBox_accepted()
{
saveConnection();
}
@@ -38,8 +38,8 @@ class QgsOracleConnect : public QDialog, private Ui::OracleConnectGuiBase
void helpInfo();

public slots:
void on_btnOk_clicked();
void on_btnCancel_clicked();
void on_buttonBox_accepted();
void on_buttonBox_rejected();
};

#endif /* _ORACLECONNECTGUI_H */

0 comments on commit af0f565

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