We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061c39a commit 0c17917Copy full SHA for 0c17917
bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CocoaTitlePathUpdater.java
@@ -27,10 +27,12 @@ public class CocoaTitlePathUpdater extends TitlePathUpdater {
27
28
@Override
29
public void updateTitlePath(Shell window, String path) {
30
- if (window == null || window.isDisposed())
+ if (window == null || window.isDisposed()) {
31
return;
32
- if (path == null)
+ }
33
+ if (path == null) {
34
path = "";
35
36
NSWindow nsWindow = window.getShell().view.window();
37
NSString filePathString = NSString.stringWith(path);
38
nsWindow.setRepresentedFilename(filePathString);
0 commit comments