mirror of https://github.com/buggins/dlangide.git
show filename in window caption
This commit is contained in:
parent
17eaa97026
commit
790a427b84
|
@ -41,6 +41,8 @@ class IDEFrame : AppFrame {
|
||||||
DockHost _dockHost;
|
DockHost _dockHost;
|
||||||
TabWidget _tabs;
|
TabWidget _tabs;
|
||||||
|
|
||||||
|
dstring frameWindowCaptionSuffix = "DLangIDE"d;
|
||||||
|
|
||||||
this(Window window) {
|
this(Window window) {
|
||||||
super();
|
super();
|
||||||
window.mainWidget = this;
|
window.mainWidget = this;
|
||||||
|
@ -117,6 +119,7 @@ class IDEFrame : AppFrame {
|
||||||
_wsPanel.selectItem(file);
|
_wsPanel.selectItem(file);
|
||||||
focusEditor(file.filename);
|
focusEditor(file.filename);
|
||||||
}
|
}
|
||||||
|
window.windowCaption(tab.text.value ~ " - "d ~ frameWindowCaptionSuffix);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue