Browse Source

keep current filter on refresh()

Nicolas Cannasse 4 years ago
parent
commit
e819d676df
1 changed files with 6 additions and 0 deletions
  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) {