Archived
Fixed folder paths when saving
Fixed update-icon close button
This commit is contained in:
1 parent
527c87889e
commit
c90a34904d
5 files changed
+22
-46
No files matched your search
@@ -281,7 +281,7 @@ namespace RyzStudio.Windows.Forms
|
||||
|
||||
public TreeNode AddNode(BookmarkModel model)
|
||||
{
|
||||
var parentNode = this.CreateNodePath(model.Path, (int)NodeIcon.Folder1, (int)NodeIcon.Folder2);
|
||||
var parentNode = this.CreateNodePath(model?.Path?.Trim() ?? string.Empty, (int)NodeIcon.Folder1, (int)NodeIcon.Folder2);
|
||||
int iconIndex = (int)NodeIcon.Default;
|
||||
|
||||
// Add custom favicon
|
||||
@@ -304,7 +304,7 @@ namespace RyzStudio.Windows.Forms
|
||||
}
|
||||
}
|
||||
|
||||
TreeNode newNode = new TreeNode(model.Title, iconIndex, iconIndex);
|
||||
TreeNode newNode = new TreeNode(model?.Title?.Trim() ?? string.Empty, iconIndex, iconIndex);
|
||||
newNode.Tag = model;
|
||||
newNode.ToolTipText = model.ToString();
|
||||
|
||||
|
||||
Reference in new issue
Block a user