Browse Source

remove old hack

David Rose 24 năm trước cách đây
mục cha
commit
4e6dd4a6bf
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      direct/src/gui/DirectEntry.py

+ 1 - 4
direct/src/gui/DirectEntry.py

@@ -100,10 +100,7 @@ class DirectEntry(DirectFrame):
 
     def setObscureMode(self):
         # Temporary try..except to support old Pandas.
-        try:
-            PGEntry.setObscureMode(self.guiItem, self['obscured'])
-        except:
-            pass
+        PGEntry.setObscureMode(self.guiItem, self['obscured'])
 
     def setBackgroundFocus(self):
         PGEntry.setBackgroundFocus(self.guiItem, self['backgroundFocus'])