mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T63383: macOS: Right-clicking the file name on the title bar
doesn't work as expected when the path includes a whitespace character File path didn't need to be escaped.
This commit is contained in:
parent
b0278b2486
commit
29550f8748
1 changed files with 0 additions and 3 deletions
|
|
@ -686,9 +686,6 @@ void GHOST_WindowCocoa::setTitle(const STR_String &title)
|
|||
associatedFileName = [windowTitle substringWithRange:fileStrRange];
|
||||
[m_window setTitle:[associatedFileName lastPathComponent]];
|
||||
|
||||
// Blender used file open/save functions converte file names into legal URL ones
|
||||
associatedFileName = [associatedFileName
|
||||
stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
||||
@try {
|
||||
[m_window setRepresentedFilename:associatedFileName];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue