fix +1644 Creating a split doesn't adhere to the no tabs setting

This commit is contained in:
nightwing 2015-07-25 01:21:59 +04:00
parent 2addd4339f
commit 67f2b60bf3

View File

@ -458,6 +458,9 @@ define(function(require, module, exports) {
emit.sticky("paneCreate", { pane: pane }, pane);
});
if (!settings.getBool("user/tabs/@show"))
ui.setStyleClass(pane.aml.$ext, "notabs", ["notabs"]);
changed = true;
settings.save();