Browse Source

keep current filter on refresh()

Nicolas Cannasse 4 năm trước cách đây
mục cha
commit
e819d676df
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      hide/comp/cdb/Editor.hx

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

@@ -564,6 +564,12 @@ class Editor extends Component {
 					cursor.table = t;
 			cursor.update();
 		}
+
+		if( currentFilter != null ) {
+			updateFilter();
+			searchBox.show();
+			txt.val(currentFilter);
+		}
 	}
 
 	function quickExists(path) {