You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -531,6 +533,16 @@ Highest Weight - Displays the order retrieved from trade]]
531
533
self.controls["name"..row_count].shown=function()
532
534
returnhideRowFunc(self, row_count)
533
535
end
536
+
537
+
-- fix case where the row count is reduced from the last time the popup was
538
+
-- opened, which would leave extra row controls in the menu
539
+
fork, vinpairs(self.controls) do
540
+
localnumber=k:match("(%d+)")
541
+
ifnumberandtonumber(number) >row_countthen
542
+
self.controls[k] =nil
543
+
end
544
+
end
545
+
534
546
row_count=row_count+2
535
547
536
548
localeffective_row_count=row_count- ((scrollBarShownand#slotTables>=19) and#slotTables-19or0) +2+2-- Two top menu rows, two bottom rows, slots after #19 overlap the other controls at the bottom of the pane
@@ -551,12 +563,6 @@ Highest Weight - Displays the order retrieved from trade]]
0 commit comments