mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed string error saving shortcuts.
This commit is contained in:
parent
5149ef3311
commit
98385748ac
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ bool lcSaveKeyboardShortcuts(lcFile& File, const lcKeyboardShortcuts& Shortcuts)
|
|||
if (Shortcuts.Shortcuts[CommandIdx].isEmpty())
|
||||
continue;
|
||||
|
||||
sprintf(Line, "%s=%s\n", gCommands[CommandIdx].ID, Shortcuts.Shortcuts[CommandIdx]);
|
||||
sprintf(Line, "%s=%s\n", gCommands[CommandIdx].ID, Shortcuts.Shortcuts[CommandIdx].toUtf8().constData()); // todo: qstring
|
||||
|
||||
File.WriteLine(Line);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue