From 748bb90a7309fc4df5c88f7f9f85a5630140e0f7 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Fri, 20 Oct 2017 12:01:59 +0200 Subject: [PATCH] Update dive planner points cylinder names also when cyl is added Amendment to c29456f0bb11f07befc3af66ee7973258b491d20 Signed-off-by: Stefan Fuchs --- qt-models/cylindermodel.cpp | 1 + 1 file changed, 1 insertion(+) 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()