- Files were not showing at startup
- Toggling details wasn't working
- Toggling showcase didn't reset the view properly
ToggleIconToolButton viewDetails { toolBar, this, icon = viewDetails, toolTip = "Toggle Listing Details";
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
{
ToggleIconToolButton viewDetails { toolBar, this, icon = viewDetails, toolTip = "Toggle Listing Details";
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
{
+ view.details = button.checked;
view.treeBranches = false;
view.Refresh();
view.Activate();
view.treeBranches = false;
view.Refresh();
view.Activate();
void UpdateHistoryItem(FileSystemBoxSelection selection)
{
void UpdateHistoryItem(FileSystemBoxSelection selection)
{
- HistoryItem item = history[historyIndex];
-
- if(!item.holdRecordingSelection)
+ if(history.count > historyIndex) // TODO: Review why this would happen...
- if(selection.node || (selection.nodes && selection.nodes.count))
+ HistoryItem item = history[historyIndex];
+
+ if(!item.holdRecordingSelection)
- item.selection.Free();
- if(selection.nodes.count)
+ if(selection.node || (selection.nodes && selection.nodes.count))
- for(node : selection.nodes)
- item.selection.Add(CopyString(node.path));
+ item.selection.Free();
+ if(selection.nodes.count)
+ {
+ for(node : selection.nodes)
+ item.selection.Add(CopyString(node.path));
+ }
+ else if(selection.node)
+ item.selection.Add(CopyString(selection.node.path));
- else if(selection.node)
- item.selection.Add(CopyString(selection.node.path));
+ else
+ item.holdRecordingSelection = false;
- else
- item.holdRecordingSelection = false;
//userMode = true;
addressBar.path = view.path;
ReadyTree();
//userMode = true;
addressBar.path = view.path;
ReadyTree();
split.leftPane = value ? list : null;
split.visible = value;
show.visible = value;
split.leftPane = value ? list : null;
split.visible = value;
show.visible = value;
+ if(!value)
+ {
+ list.parent = this;
+ list.anchor = Anchor { left = 0, top = 0, right = 0, bottom = 0 };
+ }
}
get { return bits.preview; }
};
}
get { return bits.preview; }
};