summaryrefslogtreecommitdiffstats
path: root/qt-ui/addcylinderdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/addcylinderdialog.cpp')
-rw-r--r--qt-ui/addcylinderdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/addcylinderdialog.cpp b/qt-ui/addcylinderdialog.cpp
index 043f29907..5b91617ed 100644
--- a/qt-ui/addcylinderdialog.cpp
+++ b/qt-ui/addcylinderdialog.cpp
@@ -9,11 +9,13 @@
#include <QComboBox>
#include <QDoubleSpinBox>
#include "../conversions.h"
-
+#include "models.h"
AddCylinderDialog::AddCylinderDialog(QWidget *parent) : ui(new Ui::AddCylinderDialog())
+, tankInfoModel(new TankInfoModel())
{
ui->setupUi(this);
+ ui->cylinderType->setModel(tankInfoModel);
}
void AddCylinderDialog::setCylinder(cylinder_t *cylinder)