浏览代码

Ide: fix plugin style not applied on project change

lviguier 8 月之前
父节点
当前提交
ad049ee7bc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/Ide.hx

+ 1 - 0
hide/Ide.hx

@@ -1187,6 +1187,7 @@ class Ide extends hide.tools.IdeData {
 			}
 			new Element("<menu>").attr("label",v).appendTo(menu.find(".project .recents")).click(function(_){
 				setProject(v);
+				reload(); // Reload stylesheets
 			});
 		}
 		menu.find(".project .open").click(function(_) {