Fix setting of status parameter

This commit is contained in:
craig.p.drummond
2013-03-18 21:36:30 +00:00
committed by craig.p.drummond
parent d4fbe2b561
commit daeb898402

View File

@@ -59,12 +59,12 @@ int InputDialog::getInteger(const QString &caption, const QString &label, int va
if (GtkStyle::mimicWidgets()) {
IntInputDialog dlg(caption, label, value, minValue, maxValue, step, parent);
if (QDialog::Accepted==dlg.exec()) {
if (*ok) {
if (ok) {
*ok=true;
}
return dlg.spin->value();
} else {
if (*ok) {
if (ok) {
*ok=false;
}
return value;