From 6a730b826894de351e33558f75b7a091cea9167c Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 17 May 2019 11:12:12 -0400 Subject: [PATCH] Disable plugins menubar item. --- src/app/MenuBar.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app/MenuBar.cpp b/src/app/MenuBar.cpp index f73301ab..26b3558a 100644 --- a/src/app/MenuBar.cpp +++ b/src/app/MenuBar.cpp @@ -581,6 +581,13 @@ struct PluginsMenu : ui::Menu { void refresh() { clearChildren(); + { + ui::MenuLabel *disabledLable = new ui::MenuLabel; + disabledLable->text = "Server not yet available"; + addChild(disabledLable); + return; + } + if (plugin::isLoggedIn()) { ManageItem *manageItem = new ManageItem; manageItem->text = "Manage";