Showing the changes to interface/src/Menu.cpp (1 of 3 files). Show all
Unified · Split
| @@ -1187,7 +1187,7 @@ void Menu::namedLocationCreated(LocationManager::NamedLocationCreateResponse res · 1186 unmodified lines | ||
| 1187 | 1187 | |
| 1188 | 1188 | void Menu::toggleLocationList() { |
| 1189 | 1189 | if (!_userLocationsWindow) { |
| 1190 | − _userLocationsWindow = new UserLocationsWindow(); | |
| 1190 | + _userLocationsWindow = new UserLocationsWindow(Application::getInstance()->getWindow()); | |
| 1191 | 1191 | } |
| 1192 | 1192 | if (_userLocationsWindow->isVisible()) { |
| 1193 | 1193 | _userLocationsWindow->hide(); |