浏览代码

remove old hack

David Rose 24 年之前
父节点
当前提交
4e6dd4a6bf
共有 1 个文件被更改,包括 1 次插入4 次删除
  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):
     def setObscureMode(self):
         # Temporary try..except to support old Pandas.
         # 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):
     def setBackgroundFocus(self):
         PGEntry.setBackgroundFocus(self.guiItem, self['backgroundFocus'])
         PGEntry.setBackgroundFocus(self.guiItem, self['backgroundFocus'])