diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js index 87cba790d..017745cfb 100644 --- a/assets/js/sections/common.js +++ b/assets/js/sections/common.js @@ -895,6 +895,13 @@ function set_active_loc_quickswitcher(new_active) { if (typeof reloadStations === 'function') { reloadStations(); } + + // If the user is in the QSO view we change the station in the QSO input aswell + if (window.location.pathname.indexOf("qso") !== -1) { + if ($('#stationProfile option[value="' + new_active + '"]').length > 0) { + $('#stationProfile').val(new_active); + } + } }, error: function(xhr, status, error) { console.error('Error while setting the new active location: ' + error);