diff -r c84042d014c9 -r 0a6a88e4e48f src/RelpipeChartMainWindow.cpp --- a/src/RelpipeChartMainWindow.cpp Sat Sep 29 00:43:16 2018 +0200 +++ b/src/RelpipeChartMainWindow.cpp Sat Sep 29 12:48:16 2018 +0200 @@ -44,6 +44,7 @@ splitter->addWidget(new QPushButton("here will be the chart", splitter)); splitter->addWidget(new QPushButton("here will be the table", splitter)); tabs->addTab(splitter, QString::fromWCharArray(name.c_str())); + if (tabs->count() == 2) tabs->setCurrentIndex(1); // switch to the first relation (first tab is Options tab) } void RelpipeChartMainWindow::attribute(const string_t& value) {