Przeglądaj źródła

Store sort state after sorting

Steven Silvester 8 lat temu
rodzic
commit
b7168056a2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/filebrowser/listing.ts

+ 1 - 0
src/filebrowser/listing.ts

@@ -292,6 +292,7 @@ class DirListing extends Widget {
    */
   sort(state: DirListing.ISortState): void {
     this._sortedModels = Private.sort(this.model.items, state);
+    this._sortState = state;
     this.update();
   }