summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-09-23 16:21:20 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-09-23 16:21:20 +0200
commit7893012e96ba90ec6d82bdd349b1193bd251f7ea (patch)
tree0947f58f7bf86b1484d742d983d4c062731e1ab2
parente5630511e0a5182f7c7249a0cb047725b41b7163 (diff)
downloadtuxcmd-7893012e96ba90ec6d82bdd349b1193bd251f7ea.tar.xz
Restore sort type when closing last tab
-rw-r--r--UMain.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/UMain.pas b/UMain.pas
index e799466..318f53e 100644
--- a/UMain.pas
+++ b/UMain.pas
@@ -5674,6 +5674,7 @@ begin
if LeftPanel then LeftPanelEngine := TabEngines[i]
else RightPanelEngine := TabEngines[i];
ChangingDir(LeftPanel, ATabList[i], PathsHighlight[i]);
+ AListView.SetSortInfo(Integer(TabSortIDs[i]), TGTKTreeViewSortOrder(Integer(TabSortTypes[i])));
end;
// Remove the tabs
SwitchTab(-1, LeftPanel, False);