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:
parent
17ef334c4c
commit
23c398caf7
@ -1171,6 +1171,8 @@ void GUI::loadData(const Data &data)
|
|||||||
|
|
||||||
for (int i = 0; i < _tabs.count(); i++)
|
for (int i = 0; i < _tabs.count(); i++)
|
||||||
graphs.append(_tabs.at(i)->loadData(data, _map));
|
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())
|
if (updateGraphTabs())
|
||||||
_splitter->refresh();
|
_splitter->refresh();
|
||||||
paths = _mapView->loadData(data);
|
paths = _mapView->loadData(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user