@@ -100,6 +100,8 @@ function main:Init()
100100 self .showTitlebarName = true
101101 self .showWarnings = true
102102 self .slotOnlyTooltips = true
103+ self .notSupportedModTooltips = true
104+ self .notSupportedTooltipText = " ^8(Not supported in PoB yet)"
103105 self .POESESSID = " "
104106 self .showPublicBuilds = true
105107
@@ -607,6 +609,9 @@ function main:LoadSettings(ignoreBuild)
607609 if node .attrib .slotOnlyTooltips then
608610 self .slotOnlyTooltips = node .attrib .slotOnlyTooltips == " true"
609611 end
612+ if node .attrib .notSupportedModTooltips then
613+ self .notSupportedModTooltips = node .attrib .notSupportedModTooltips == " true"
614+ end
610615 if node .attrib .POESESSID then
611616 self .POESESSID = node .attrib .POESESSID or " "
612617 end
@@ -726,6 +731,7 @@ function main:SaveSettings()
726731 lastExportWebsite = self .lastExportWebsite ,
727732 showWarnings = tostring (self .showWarnings ),
728733 slotOnlyTooltips = tostring (self .slotOnlyTooltips ),
734+ notSupportedModTooltips = tostring (self .notSupportedModTooltips ),
729735 POESESSID = self .POESESSID ,
730736 invertSliderScrollDirection = tostring (self .invertSliderScrollDirection ),
731737 disableDevAutoSave = tostring (self .disableDevAutoSave ),
@@ -970,6 +976,13 @@ function main:OpenOptionsPopup()
970976 end )
971977 controls .slotOnlyTooltips .state = self .slotOnlyTooltips
972978
979+ nextRow ()
980+ controls .notSupportedModTooltips = new (" CheckBoxControl" , { " TOPLEFT" , nil , " TOPLEFT" }, { defaultLabelPlacementX , currentY , 20 }, " ^7Show tooltip for unsupported mods :" , function (state )
981+ self .notSupportedModTooltips = state
982+ end )
983+ controls .notSupportedModTooltips .tooltipText = " Show ^8(Not supported in PoB yet) ^7next to unsupported mods\n Requires PoB to restart for it to take effect"
984+ controls .notSupportedModTooltips .state = self .notSupportedModTooltips
985+
973986 nextRow ()
974987 controls .invertSliderScrollDirection = new (" CheckBoxControl" , { " TOPLEFT" , nil , " TOPLEFT" }, { defaultLabelPlacementX , currentY , 20 }, " ^7Invert slider scroll direction:" , function (state )
975988 self .invertSliderScrollDirection = state
@@ -1005,6 +1018,7 @@ function main:OpenOptionsPopup()
10051018 local initialDefaultItemAffixQuality = self .defaultItemAffixQuality or 0.5
10061019 local initialShowWarnings = self .showWarnings
10071020 local initialSlotOnlyTooltips = self .slotOnlyTooltips
1021+ local initialNotSupportedModTooltips = self .notSupportedModTooltips
10081022 local initialInvertSliderScrollDirection = self .invertSliderScrollDirection
10091023 local initialDisableDevAutoSave = self .disableDevAutoSave
10101024 local initialShowPublicBuilds = self .showPublicBuilds
@@ -1055,6 +1069,7 @@ function main:OpenOptionsPopup()
10551069 self .defaultItemAffixQuality = initialDefaultItemAffixQuality
10561070 self .showWarnings = initialShowWarnings
10571071 self .slotOnlyTooltips = initialSlotOnlyTooltips
1072+ self .notSupportedModTooltips = initialNotSupportedModTooltips
10581073 self .invertSliderScrollDirection = initialInvertSliderScrollDirection
10591074 self .disableDevAutoSave = initialDisableDevAutoSave
10601075 self .showPublicBuilds = initialShowPublicBuilds
0 commit comments