From 67f2b60bf351b01c3dec18f8bf101edd0fe0a4b7 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 25 Jul 2015 01:21:59 +0400 Subject: [PATCH] fix +1644 Creating a split doesn't adhere to the no tabs setting --- plugins/c9.ide.editors/tabmanager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/c9.ide.editors/tabmanager.js b/plugins/c9.ide.editors/tabmanager.js index 1db406f2..369ae8bc 100644 --- a/plugins/c9.ide.editors/tabmanager.js +++ b/plugins/c9.ide.editors/tabmanager.js @@ -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();