Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
wittemann committed Sep 26, 2012
1 parent 8706315 commit f8cf1b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ qx.Class.define("widgetbrowser.view.Header",
}
})[0];

// Set current theme
if (currentThemeItem) {
select.setSelection([currentThemeItem]);
}

select.setTextColor("black");

select.addListener("changeSelection", function(evt) {
Expand Down Expand Up @@ -109,6 +104,11 @@ qx.Class.define("widgetbrowser.view.Header",
}
});

// Set current theme
if (currentThemeItem) {
select.setSelection([currentThemeItem]);
}

// Finally assemble header
this.add(title);
this.add(new qx.ui.core.Spacer, {flex : 1});
Expand Down
2 changes: 1 addition & 1 deletion framework/source/class/qx/ui/form/AbstractField.js
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ qx.Class.define("qx.ui.form.AbstractField",
this._placeholder.dispose();
this._placeholder = null;
}
if (!this.__useQxPlaceholder) {
if (!this.__useQxPlaceholder && qx.ui.form.AbstractField.__stylesheet) {
qx.bom.Stylesheet.removeSheet(qx.ui.form.AbstractField.__stylesheet);
}
},
Expand Down

0 comments on commit f8cf1b9

Please sign in to comment.