commit cbd1942d1365db108f467ece5cbb60bbc8363983
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Jul 20 14:22:47 2026 +0200
Fix conversion issue
---
src/frontends/qt/GuiDocument.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 57994ae855..eb920351c8 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -5331,7 +5331,7 @@ void GuiDocument::paramsToDialog()
item->setText(2, toqstr(itt.second));
if (auto res =
bp_.special_fonts_sans_scale.find(itt.first); res !=
bp_.special_fonts_sans_scale.end()
&& res->second != 100)
- item->setText(3, toqstr(res->second));
+ item->setText(3,
toqstr(convert<string>(res->second)));
if (auto res =
bp_.special_fonts_sans_osf.find(itt.first); res !=
bp_.special_fonts_sans_osf.end()
&& res->second)
item->setCheckState(4, Qt::Checked);
@@ -5348,7 +5348,7 @@ void GuiDocument::paramsToDialog()
item->setText(2, toqstr(itt.second));
if (auto res =
bp_.special_fonts_sans_scale.find(itt.first); res !=
bp_.special_fonts_sans_scale.end()
&& res->second != 100)
- item->setText(3, toqstr(res->second));
+ item->setText(3,
toqstr(convert<string>(res->second)));
if (auto res =
bp_.special_fonts_sans_osf.find(itt.first); res !=
bp_.special_fonts_sans_osf.end()
&& res->second)
item->setCheckState(4, Qt::Checked);
@@ -5372,7 +5372,7 @@ void GuiDocument::paramsToDialog()
item->setText(2, toqstr(itt.second));
if (auto res =
bp_.special_fonts_typewriter_scale.find(itt.first); res !=
bp_.special_fonts_typewriter_scale.end()
&& res->second != 100)
- item->setText(3, toqstr(res->second));
+ item->setText(3,
toqstr(convert<string>(res->second)));
if (auto res =
bp_.special_fonts_typewriter_osf.find(itt.first); res !=
bp_.special_fonts_typewriter_osf.end()
&& res->second)
item->setCheckState(4, Qt::Checked);
@@ -5389,7 +5389,7 @@ void GuiDocument::paramsToDialog()
item->setText(2, toqstr(itt.second));
if (auto res =
bp_.special_fonts_typewriter_scale.find(itt.first); res !=
bp_.special_fonts_typewriter_scale.end()
&& res->second != 100)
- item->setText(3, toqstr(res->second));
+ item->setText(3,
toqstr(convert<string>(res->second)));
if (auto res =
bp_.special_fonts_typewriter_osf.find(itt.first); res !=
bp_.special_fonts_typewriter_osf.end()
&& res->second)
item->setCheckState(4, Qt::Checked);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs