From 35f4af564d5eb9490631854c78d095fb08fa2324 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 13 Dec 2011 14:23:01 +0800 Subject: [PATCH] Roo/BorderLayout.js --- Roo/BorderLayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/BorderLayout.js b/Roo/BorderLayout.js index c0f97fe42b..8d026af00b 100644 --- a/Roo/BorderLayout.js +++ b/Roo/BorderLayout.js @@ -496,7 +496,7 @@ layout.addxtype({ region = this.getRegion(r); if (region) { // tried using nb[r], but it does not work.. - if(region.panels.getCount() > 1 ) { + if(region.panels.getCount() > 0 ) { region.showPanel(nb[r]); } } -- 2.39.2