1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed graphs display configuration issue

This commit is contained in:
Martin Tůma 2016-03-25 10:59:47 +01:00
parent 0d41341086
commit 501431207f

View File

@ -824,6 +824,7 @@ void GUI::updateGraphTabs()
for (int i = 0; i < (int)ARRAY_SIZE(tabs); i++) { for (int i = 0; i < (int)ARRAY_SIZE(tabs); i++) {
if (tabs[i].view->count()) { if (tabs[i].view->count()) {
if (_showGraphsAction->isChecked())
_trackGraphs->setHidden(false); _trackGraphs->setHidden(false);
_showGraphsAction->setEnabled(true); _showGraphsAction->setEnabled(true);
return; return;