back to working

His Dad [06-26-15 - 04:28]
back to working
Filename
HistOffline.lua
diff --git a/HistOffline.lua b/HistOffline.lua
index f58a31c..f71b4f4 100644
--- a/HistOffline.lua
+++ b/HistOffline.lua
@@ -774,8 +774,9 @@ end
 					iup.label{SEPARATOR="HORIZONTAL"}
 					}

-		me.data_tabs = iup.vbox{} --Data tabs for Char
-		iup.Append(me.data_tabs, iup.hbox {	["tabtitle"] =L.GrpDungeon,
+		me.data_tabs = iup.tabs{} --Data tabs for Char
+
+		iup.Append(me.data_tabs, iup.vbox {	["tabtitle"] =L.GrpDungeon,
 												iup.label{title=L.GrpLab,expand="HORIZONTAL"},
 												me.Grp_box,
 												iup.fill{}
@@ -786,12 +787,13 @@ end
 												me.Pub_box,
 												iup.fill{}
 											})
-
+		if me.isvet then
 		iup.Append(me.data_tabs, iup.vbox {	["tabtitle"] =L.VetDungeon,
 												iup.label{title=L.VetLab,expand="HORIZONTAL"},
 												me.Vet_box,
 												iup.fill{}
 											})
+		end

 		iup.Append(me.data_tabs, iup.vbox {	["tabtitle"] =L.Leveling,
 										--		iup.label{title="LevLabel",expand="HORIZONTAL"},