mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix: #179 Paints and mappings renamings are now saved in file
This commit is contained in:
+2
-2
@@ -211,13 +211,13 @@ void OscInterface::applyOscCommand(MainWindow &main_window, QVariantList & comma
|
||||
{
|
||||
int mappingId = command.at(2).toInt();
|
||||
QString mappingName = command.at(3).toString();
|
||||
main_window.renameMappingItem(mappingId, mappingName);
|
||||
main_window.renameMapping(mappingId, mappingName);
|
||||
}
|
||||
else if (path == "/mapmap/paint/media/rename" && typetags == "is")
|
||||
{
|
||||
int paintId = command.at(2).toInt();
|
||||
QString paintName = command.at(3).toString();
|
||||
main_window.renamePaintItem(paintId, paintName);
|
||||
main_window.renamePaint(paintId, paintName);
|
||||
}
|
||||
else if (path == "/mapmap/quit")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user