瀏覽代碼

View-CDB: allow reopen last closed tab

Yuxiao Mao 5 月之前
父節點
當前提交
18ef208d8d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/comp/cdb/Editor.hx

+ 1 - 0
hide/comp/cdb/Editor.hx

@@ -124,6 +124,7 @@ class Editor extends Component {
 
 		keys.clear();
 		keys.addListener(onKey);
+		keys.register("view.reopenLastClosedTab", function() ide.reopenLastClosedTab());
 		keys.register("search", function() {
 			searchBox.show();
 			searchBox.find("input").val("").focus().select();