1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Add a comment for the splitter refresh hack

This commit is contained in:
Martin Tůma 2024-09-21 13:20:32 +02:00
parent 17ef334c4c
commit 23c398caf7

View File

@ -1171,6 +1171,8 @@ void GUI::loadData(const Data &data)
for (int i = 0; i < _tabs.count(); i++)
graphs.append(_tabs.at(i)->loadData(data, _map));
/* Refreshing the splitter is necessary to update the map viewport and
properly fit the data! */
if (updateGraphTabs())
_splitter->refresh();
paths = _mapView->loadData(data);