cleanup SetFormattedText( -> SetText(format(

This commit is contained in:
Crum
2018-06-11 22:55:08 -05:00
parent bec12d0f0d
commit cce774b837
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ function D:OnCommReceived(prefix, msg, dist, sender)
OnAccept = function()
self.statusBar:SetMinMaxValues(0, length)
self.statusBar:SetValue(0)
self.statusBar.text:SetFormattedText(L["Data From: %s"], sender)
self.statusBar.text:SetText(format(L["Data From: %s"], sender))
E:StaticPopupSpecial_Show(self.statusBar)
self:SendCommMessage(REPLY_PREFIX, profile..":YES", dist, sender)
end,