From 82c61bdc655d0521e2d3227ddc922b49b37a3db4 Mon Sep 17 00:00:00 2001 From: tobias <tobias.ullerich@icloud.com> Date: Sat, 27 Aug 2016 00:01:43 +0200 Subject: [PATCH] Fixed PadSettingsView Bug for multiple pages & load animation fixed --- .../layout/desktop/DesktopPadViewController.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/PlayWall/src/de/tobias/playpad/layout/desktop/DesktopPadViewController.java b/PlayWall/src/de/tobias/playpad/layout/desktop/DesktopPadViewController.java index 4b8ad7f5..ae369cca 100644 --- a/PlayWall/src/de/tobias/playpad/layout/desktop/DesktopPadViewController.java +++ b/PlayWall/src/de/tobias/playpad/layout/desktop/DesktopPadViewController.java @@ -149,6 +149,17 @@ public class DesktopPadViewController implements IPadViewControllerV2, EventHand this.padDragListener = null; this.pad = null; + + // Remove SettingsView Reference + if (padSettingsViewController != null) { + padSettingsViewController.getStage().close(); + padSettingsViewController = null; + } + + // Hide Loading Animation + if (getView() != null) + getView().showBusyView(false); + } @Override -- GitLab