﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7227	Dialog: showPage increments pageCount even if page is already showing	sadlerjw		"In the Dialog plugin, callling showPage on a page that is already visible increments the pageCount, meaning that when all but one page are removed, the tab bar will still be visible. To reproduce:

1. Create and show a dialog with two pages; both shown by default.  Let's call them page1 and page2.[[BR]]
2. Call showPage( 'page2' )[[BR]]
3. Call hidePage( 'page1' )[[BR]]


Now only page2 will be visible - but the tab bar will still be showing, with the single tab ""page2"".  Intended behaviour (presumably) is to have tab bar disappear when only one page is visible.

This can be fixed by adding a check to tab.isVisible() in showPage.

Proposed patch included."	Bug	confirmed	Normal		UI : Dialogs	3.0		HasPatch	
