From 311d0830276ad1d36f9062651be075b928aa6774 Mon Sep 17 00:00:00 2001 From: RDW Date: Thu, 3 Aug 2023 23:44:33 +0200 Subject: [PATCH] UI: Set Rarity as the source for created TomTom waypoints Instead of prepending Rarity to the waypoint name, it seems cleaner to use the TomTom API's "from" field. Maybe that's a recent addition? Either way, it de-clutters the waypoint title a little bit and fixes the "From: ?" part. No big deal. --- Core/GUI/MainWindow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/GUI/MainWindow.lua b/Core/GUI/MainWindow.lua index 9de04905..fd6b0570 100644 --- a/Core/GUI/MainWindow.lua +++ b/Core/GUI/MainWindow.lua @@ -201,7 +201,7 @@ local function onClickItem(cell, item) coord.m, coord.x / 100.0, coord.y / 100.0, - { title = "Rarity" .. ": " .. item.name .. extraName } + { title = item.name .. extraName, from = "Rarity" } ) added = added + 1 end