From 4f73150e3e91ffc315f75af7fe4c019f7da6b80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 19 Feb 2021 19:36:26 +0100 Subject: [PATCH] Improved Full-screen layout --- src/GUI/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index fc2ab634..68c78b68 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include "common/programpaths.h" #include "data/data.h" #include "data/poi.h" @@ -1398,6 +1399,7 @@ void GUI::showFullscreen(bool show) menuBar()->hide(); showToolbars(false); _mapView->setFrameStyle(QFrame::NoFrame); + _graphTabWidget->tabBar()->hide(); showFullScreen(); } else { Q_ASSERT(!_windowGeometries.isEmpty()); @@ -1406,6 +1408,7 @@ void GUI::showFullscreen(bool show) menuBar()->show(); showToolbars(true); _mapView->setFrameStyle(_frameStyle); + _graphTabWidget->tabBar()->show(); showNormal(); } }