2018-08-14 version 51

His Dad [08-14-18 - 06:23]
2018-08-14 version 51
	Removed the Mouseover from Dungeon Mode (didn't work anyway)
	Add "ru" lingua, which has english data
	Mouseover on completed dungeon in char mode now displays the datetime completed in the bottom panel.

Signed-off-by: His Dad <John@hisdad.org>
Filename
Doc/Changelog.txt
HistOffline.lua
data/utility.lua
history.txt
diff --git a/Doc/Changelog.txt b/Doc/Changelog.txt
index 34b4b7b..cc95397 100644
--- a/Doc/Changelog.txt
+++ b/Doc/Changelog.txt
@@ -1,5 +1,7 @@
-2018-08-08 version 51
+2018-08-14 version 51
 	Removed the Mouseover from Dungeon Mode (didn't work anyway)
+	Add "ru" lingua, which has english data
+	Mouseover on completed dungeon in char mode now displays the datetime completed in the bottom panel.

 2018-08-08 version 50
 	The Toggle to hide characters that have completed all dungeons (Dungeon Mode) would crash the program if you had no vet characters.
diff --git a/HistOffline.lua b/HistOffline.lua
index b143644..bdf202b 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -643,6 +643,7 @@ end
 		me.Pub_box = iup.matrix {numcol=4, numcol_visible=4,  numlin=5, widthdef=100}
 		iup.SetAttribute(me.Pub_box, "READONLY", "YES")
 		me.Pub_box.dat = Pub_Dat_Char
+		me.Pub_box.ach = thischar.ach
 		me.Pub_box.mousemove_cb = box_mousemove_cb
 		me.Pub_box.leavewindow_cb = box_leavewindow_cb

diff --git a/data/utility.lua b/data/utility.lua
index a9b3fbd..bcf42f0 100644
--- a/data/utility.lua
+++ b/data/utility.lua
@@ -104,7 +104,7 @@ box_mousemove_cb = 	function (self, l, c)	-- For Char Mode Only

 		if ach == nil then
 			blank_detail()
-		    detail_name.title = "No reverse lookup on " .. key	-- Normal on Group 2 and Pub panel with empty spaces
+		--    detail_name.title = "No reverse lookup on " .. key	-- Normal on Group 2 and Pub panel with empty spaces
 			return
 		end

@@ -112,7 +112,13 @@ box_mousemove_cb = 	function (self, l, c)	-- For Char Mode Only
 			detail_name.title = "No Achievement for " .. ach
 			return
 		end
-		if (self.ach ~= nil and self.ach[ach] ~= nil) then  -- completed (not on dungeon modes) This Mouseover shouldn't be on Dungeon Modes
+
+		if (self.ach == nil) then
+			print("box_mousemove_cb: self.ach is nil")
+			return
+		end
+
+		if (self.ach[ach] ~= nil) then  -- completed (not on dungeon modes) This Mouseover shouldn't be on Dungeon Modes

 			detail_name.title = "(ID: " .. ach .. ")  "  .. L.Completed .. os.date(dateformat,self.ach[ach].time) .. "   " .. Ach_Detail[ach].name
 		else
diff --git a/history.txt b/history.txt
index 1ac830c..c09021a 100644
--- a/history.txt
+++ b/history.txt
@@ -1,5 +1,5 @@
 ## Title: Dad's History
-## APIVersion: 100023 100024
+## APIVersion: 100024
 ## Version: 51
 ## Author: HisDad
 ## Description: Record progress of all characters for offline viewing.