Skip to content
Snippets Groups Projects
Commit 5f1e4bbe authored by Sacha Percot-Tétu's avatar Sacha Percot-Tétu
Browse files

Corrected a bug in Thresholding dialog

parent c68e94cf
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ class ThresholdDialog : public QDialog {
ThresholdDialog(const imagein::GrayscaleImage*, bool converted);
inline int threshold1() { return _spinbox1->value(); }
inline int threshold2() { return _spinbox2->value(); }
inline bool blackBand() { return _blackButton->isChecked(); }
inline bool blackBand() { return !_blackButton->isChecked(); }
inline bool doubleThreshold() { return _doubleBox->isChecked(); }
public slots:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment