Browse Source

added Reload

ncannasse 7 years ago
parent
commit
291d510996
1 changed files with 2 additions and 0 deletions
  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());
 	}