--- a/src/RelpipeChartMainWindow.cpp Mon Dec 03 16:11:40 2018 +0100
+++ b/src/RelpipeChartMainWindow.cpp Thu Dec 13 01:45:28 2018 +0100
@@ -46,6 +46,7 @@
tableView->setModel(currentModel);
if (currentChartWidget) currentChartWidget->endOfRelation();
+ splitter = new QSplitter(Qt::Orientation::Vertical, tabs);
currentChartWidget = new RelpipeChartWidget(currentModel, splitter);
splitter->addWidget(currentChartWidget);
splitter->addWidget(tableView);
--- a/src/RelpipeChartMainWindow.h Mon Dec 03 16:11:40 2018 +0100
+++ b/src/RelpipeChartMainWindow.h Thu Dec 13 01:45:28 2018 +0100
@@ -47,7 +47,7 @@
private:
Ui::RelpipeChartMainWindow widget;
QTabWidget* tabs = new QTabWidget(this);
- QSplitter* splitter = new QSplitter(Qt::Orientation::Vertical, tabs);
+ QSplitter* splitter;
RelpipeTableModel* currentModel;
RelpipeChartWidget* currentChartWidget;
QLabel* status = new QLabel();