summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/functionconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator/functionconfig.cpp')
-rw-r--r--qfunctionconfigurator/functionconfig.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp
index a4d03ed8..a0715754 100644
--- a/qfunctionconfigurator/functionconfig.cpp
+++ b/qfunctionconfigurator/functionconfig.cpp
@@ -179,6 +179,10 @@ void Map::loadSettings(QSettings& settings, const QString& title) {
}
settings.endGroup();
+
+ if (max == 0)
+ points.append(QPointF(maxInput(), maxOutput()));
+
cur.input = points;
reload();
saved = cur;