mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-09-01 20:51:34 +00:00
Fixed a small traceback that was happening when translating a direct message
This commit is contained in:
@@ -467,5 +467,5 @@ class viewNonTweet(widgetUtils.BaseDialog):
|
||||
self.text.SetFocus()
|
||||
|
||||
def enable_button(self, buttonName):
|
||||
if getattr(self, buttonName):
|
||||
if hasattr(self, buttonName):
|
||||
return getattr(self, buttonName).Enable()
|
||||
|
Reference in New Issue
Block a user