mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 10:27:53 +02:00
WIP: format string problem fixed in 2.5d view
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user