DirChooser: Find the best associated bookmark when setting the root directory.

[GB.FORM]
* BUG: DirChooser: Use the correct Copy.Paste() method.
* BUG: DirChooser: Find the best associated bookmark when setting the root directory.
This commit is contained in:
Benoît Minisini 2022-12-31 14:25:04 +01:00
parent 08a10b06de
commit ca6ce92d1e

View file

@ -699,7 +699,7 @@ Public Sub SetRoot(Optional sRoot As String)
Try dvwChoose.Root = sRoot
hBookmark = $hBookmarkList.FindBookmark(sRoot)
hBookmark = $hBookmarkList.FindBest(sRoot)
SetBookmark(hBookmark)
End
@ -1292,11 +1292,10 @@ Public Sub mnuCopy_Click()
If aPath.Count = 0 Then Return
Clipboard.CopyPaths(aPath)
Clipboard.Copy(aPath, "text/uri-list")
End
Public Sub mnuUncompress_Click()
'Dim sResult As String