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 20:31:02 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-17 20:31:02 +0300
commit274a1c06fc1ce9cd9728a13c716d0cda5019af37 (patch)
treef48cca3789e5040c9d5b8fcaacb9e4ac09af15b9
parent18730d7b2923ab13f7a31ad910fb3a55691a872a (diff)
added logging of the panel's name when the panel changes
-rwxr-xr-xui/ui.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 2f4b90e..61e2da5 100755
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -523,6 +523,8 @@ func (this *UI) GoToPreviousPanel() {
func (this *UI) SetUiToPanel(panel interfaces.IPanel) {
logger.TraceEnter("ui.SetUiToPanel()")
+ logger.Infof("Setting panel to %q", panel.Name())
+
stackLength := this.PanelHistory.Len()
if stackLength > 0 {
currentPanel := this.PanelHistory.Peek().(interfaces.IPanel)