Use HTML to ensure line break

This commit is contained in:
Jon Beniston 2022-03-01 17:25:56 +00:00
parent bcff46a826
commit 652ecc91e4
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ QVariant MapModel::data(const QModelIndex &index, int role) const
if (row == m_target)
{
AzEl *azEl = m_gui->getAzEl();
QString text = QString("%1\nAz: %2%5 El: %3%5 Dist: %4 km")
QString text = QString("%1<br>Az: %2%5 El: %3%5 Dist: %4 km")
.arg(m_selected[row] ? m_items[row]->m_text : m_items[row]->m_name)
.arg(std::round(azEl->getAzimuth()))
.arg(std::round(azEl->getElevation()))