Skip to content

Commit 839ac40

Browse files
committed
fix dropping file
1 parent 22a674f commit 839ac40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenUtau/Views/MainWindow.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ async void OnDrop(object? sender, DragEventArgs args) {
685685
if (storageItem == null) {
686686
return;
687687
}
688-
string file = storageItem.Path.AbsolutePath;
688+
string file = storageItem.Path.LocalPath;
689689
var ext = System.IO.Path.GetExtension(file);
690690
if (ext == ".ustx" || ext == ".ust" || ext == ".vsqx") {
691691
if (!DocManager.Inst.ChangesSaved && !await AskIfSaveAndContinue()) {

0 commit comments

Comments
 (0)