diff --git a/dub.json b/dub.json index 65add91..0344732 100644 --- a/dub.json +++ b/dub.json @@ -12,7 +12,7 @@ "stringImportPaths": ["views"], "dependencies": { - "dlangui": "==0.9.147", + "dlangui": "==0.9.148", "dsymbol": "~>0.2.9", "dcd": "~>0.9.1" }, diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index d3bea5e..9014f92 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -452,6 +452,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL else editor.editorTool = new DefaultEditorTool(this); _tabs.layout(_tabs.pos); + editor.editorStateChange = _statusLine; } else { Log.d("file ", filename, " cannot be opened"); destroy(editor); @@ -523,6 +524,8 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL void closeTab(string tabId) { _wsPanel.selectItem(null); _tabs.removeTab(tabId); + _statusLine.hideEditorState(); + _tabs.focusSelectedTab(); } void renameTab(string oldfilename, string newfilename) { diff --git a/views/VERSION b/views/VERSION index fb829cf..d8788eb 100644 --- a/views/VERSION +++ b/views/VERSION @@ -1 +1 @@ -v0.7.97 \ No newline at end of file +v0.7.98 \ No newline at end of file