.fix to compile on MSVC

This commit is contained in:
Zbigniew Rębacz 2025-09-19 08:19:21 +02:00
parent bb95965801
commit 23532fb00e

View file

@ -86,7 +86,7 @@ void DiagramEditor::StartText()
Sync();
text_editor.SetFocus();
const String& qtf = CursorItem().qtf;
text_editor.SetQTF(qtf.GetCount() ? qtf : "[= ");
text_editor.SetQTF(qtf.GetCount() ? qtf : String("[= "));
text_editor.Select(0, text_editor.GetLength());
SyncEditorRect();
}