WIP: format string problem fixed in 2.5d view

This commit is contained in:
Matthias Koefferlein
2021-12-05 00:08:08 +01:00
parent 6aae46772c
commit ef62a126d4
5 changed files with 25 additions and 1 deletions
@@ -115,7 +115,7 @@ D25View::menu_activated (const std::string &symbol)
static QString scale_factor_to_string (double f)
{
return QString (QString::fromUtf8 ("%.3g").arg (f));
return QString (QString::fromUtf8 ("%1")).arg (f, 0, 'g', 3);
}
void