diff options
author | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-17 19:53:16 +0300 |
---|---|---|
committer | JeffB42 <10328858+JeffB42@users.noreply.github.com> | 2021-04-17 19:53:16 +0300 |
commit | eae34f6edfc3a81f5a6a8e95271f89ba209d30d9 (patch) | |
tree | bdeea40c94f0fbdf3154ec4069c83e8b1d03564d | |
parent | 1e192a832ff913e517e5d294fdba2fa615fb6e6d (diff) |
added Name() to IPanel, removed parentPanel which is no longer used
-rwxr-xr-x | ui/CommonPanel.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/CommonPanel.go b/ui/CommonPanel.go index d46518b..845b545 100755 --- a/ui/CommonPanel.go +++ b/ui/CommonPanel.go @@ -18,7 +18,7 @@ import ( type CommonPanel struct { - name string, + name string UI *UI // parentPanel interfaces.IPanel includeBackButton bool @@ -37,6 +37,7 @@ func NewCommonPanel( //parentPanel interfaces.IPanel, ) CommonPanel { return newPanel( + name, ui, //parentPanel, true, @@ -49,6 +50,7 @@ func NewTopLevelCommonPanel( //parentPanel interfaces.IPanel, ) CommonPanel { return newPanel( + name, ui, //parentPanel, false, |