Re-introduce Command Fit State (#1074)

Reintroduce command view state

Squashes `blitzmann/command-fit-state`:

* Reintroduces command view state, allowing users to toggle command fits on and off.
* Remove type() function call and use __class__ instead
This commit is contained in:
Ryan Holmes
2017-04-01 22:04:44 -05:00
committed by GitHub
parent 878d9d7148
commit f08a66924c
2 changed files with 10 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class CommandViewDrop(wx.PyDropTarget):
class CommandView(d.Display):
DEFAULT_COLS = ["Base Name"]
DEFAULT_COLS = ["State", "Base Name"]
def __init__(self, parent):
d.Display.__init__(self, parent, style=wx.LC_SINGLE_SEL | wx.BORDER_NONE)