aboutsummaryrefslogtreecommitdiff
path: root/features/soopyGui/GuiPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/soopyGui/GuiPage.js')
-rw-r--r--features/soopyGui/GuiPage.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/features/soopyGui/GuiPage.js b/features/soopyGui/GuiPage.js
index fb93bbe..583eab9 100644
--- a/features/soopyGui/GuiPage.js
+++ b/features/soopyGui/GuiPage.js
@@ -7,7 +7,7 @@ class GuiPage{
this.soopyGui = undefined;
new Thread(()=>{
- while(global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){
+ while(global.soopyv2featuremanagerthing.features === undefined || global.soopyv2featuremanagerthing.features["soopyGui"] === undefined){
Thread.sleep(100)
}
@@ -55,6 +55,10 @@ class GuiPage{
this.soopyGui.closeSidebarPage()
}
+ delete(){
+ this.soopyGui.deleteCategory(this);
+ }
+
//Override me :D
onOpen(){