Browse Source

added Reload

ncannasse 7 năm trước cách đây
mục cha
commit
291d510996
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      hide/view/FileView.hx

+ 2 - 0
hide/view/FileView.hx

@@ -114,6 +114,8 @@ class FileView extends hide.ui.View<{ path : String }> {
 			{ label : "Save", enabled : modified, click : function() { save(); modified = false; } },
 			{ label : "Save As...", click : saveAs },
 			{ label : null, isSeparator : true },
+			{ label : "Reload", click : function() rebuild() },
+			{ label : null, isSeparator : true },
 		];
 		return arr.concat(super.buildTabMenu());
 	}