Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-17 19:53:16 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-17 19:53:16 +0300
commiteae34f6edfc3a81f5a6a8e95271f89ba209d30d9 (patch)
treebdeea40c94f0fbdf3154ec4069c83e8b1d03564d
parent1e192a832ff913e517e5d294fdba2fa615fb6e6d (diff)
added Name() to IPanel, removed parentPanel which is no longer used
-rwxr-xr-xui/CommonPanel.go4
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,