Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Werner <stefan.werner@tangent-animation.com>2019-05-29 14:17:15 +0300
committerStefan Werner <stefan.werner@tangent-animation.com>2019-05-29 14:17:15 +0300
commit29550f87484919065e24ecb513ec64b9a978d03f (patch)
tree1dca3a846a9c6507abd131b0ddf842bda9575079 /intern/ghost/intern/GHOST_WindowCocoa.mm
parentb0278b24868d7cd6326577fcbae5ace13a0e9200 (diff)
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.
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowCocoa.mm')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index fc4ad3dba74..26aa2e8e067 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -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];
}