Fix: #179 Paints and mappings renamings are now saved in file

This commit is contained in:
baydam
2016-01-05 12:10:54 +00:00
parent 45a8b536d8
commit 093fb3cd9d
6 changed files with 66 additions and 20 deletions
+2 -2
View File
@@ -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")
{