mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
only do the ignore trick if we are ignoring, not unignoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -317,7 +317,7 @@ class FunctionDef(BaseDef):
|
||||
# If the item being ignored has overloads then try to reorder the
|
||||
# items so the primary item is not an ignored one.
|
||||
super(FunctionDef, self).ignore(val)
|
||||
if self.overloads:
|
||||
if val and self.overloads:
|
||||
all = [self] + self.overloads
|
||||
all.sort(key=lambda item: item.ignored)
|
||||
first = all[0]
|
||||
|
||||
Reference in New Issue
Block a user