projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d31fb5
)
src/Builder4/WindowState.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 25 Nov 2015 09:31:21 +0000
(17:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 25 Nov 2015 09:31:21 +0000
(17:31 +0800)
src/Builder4/WindowState.vala
patch
|
blob
|
history
diff --git
a/src/Builder4/WindowState.vala
b/src/Builder4/WindowState.vala
index
e09abf5
..
9b36ce0
100644
(file)
--- a/
src/Builder4/WindowState.vala
+++ b/
src/Builder4/WindowState.vala
@@
-1158,12
+1158,12
@@
public class WindowState : Object
this.win.statusbar_compilestatus_label.el.hide();
this.win.statusbar_run.el.hide();
-
+ if (!has_errors) {
+ this.win.statusbar_run.el.show();
+ }
if (this.file.xtype == "Gtk") {
this.win.statusbar_compilestatus_label.el.show();
- if (!has_errors) {
- this.win.statusbar_run.el.show();
- }
+
var gbuf = this.window_gladeview.sourceview;
gbuf.highlightErrorsJson("ERR", obj);
gbuf.highlightErrorsJson("WARN", obj);