Explorar o código

Store sort state after sorting

Steven Silvester %!s(int64=8) %!d(string=hai) anos
pai
achega
b7168056a2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();
   }