diff --git a/client/mainwindow.cpp b/client/mainwindow.cpp index 12fa8a5..b3769a9 100644 --- a/client/mainwindow.cpp +++ b/client/mainwindow.cpp @@ -278,6 +278,16 @@ void MainWindow::on_actionViewRestoreDefaults_triggered() setGeometry(defaultGeometry_); restoreState(defaultLayout_, 0); + // Add streamStats as tabs + QList streamStatsDocks + = findChildren("streamStatsDock"); + foreach(QDockWidget *dock, streamStatsDocks) { + dock->setFloating(false); + tabifyDockWidget(statsDock, dock); + } + statsDock->show(); + statsDock->raise(); + actionViewShowMyReservedPortsOnly->setChecked(false); }