summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-10-20 12:01:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-20 07:55:18 -0400
commit748bb90a7309fc4df5c88f7f9f85a5630140e0f7 (patch)
tree853dc10109d2c5f1f28f7f1414158ee493f485f6 /qt-models
parent93e2bda0709a2377f47e313aa0970daa4f2b66df (diff)
downloadsubsurface-748bb90a7309fc4df5c88f7f9f85a5630140e0f7.tar.gz
Update dive planner points cylinder names also when cyl is added
Amendment to c29456f0bb11f07befc3af66ee7973258b491d20 Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/cylindermodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp
index 1152e2863..d388cd0ef 100644
--- a/qt-models/cylindermodel.cpp
+++ b/qt-models/cylindermodel.cpp
@@ -459,6 +459,7 @@ void CylindersModel::add()
rows++;
changed = true;
endInsertRows();
+ emit dataChanged(createIndex(row, 0), createIndex(row, COLUMNS - 1));
}
void CylindersModel::clear()