2010-07-07 23:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbide/hbide.prg
    ! Fixed: no-show of source's contents when a panel was hosting 
      only one source. Now source is visible loaded.
This commit is contained in:
Pritpal Bedi
2010-07-08 06:20:38 +00:00
parent c20d0cbbab
commit b5417e890f
2 changed files with 12 additions and 3 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-07-07 23:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.prg
! Fixed: no-show of source's contents when a panel was hosting
only one source. Now source is visible loaded.
2010-07-07 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idemisc.prg
* contrib/hbide/idesaveload.prg

View File

@@ -512,9 +512,13 @@ METHOD HbIde:create( aParams )
FOR EACH cV IN ::oINI:aViews
::oDK:setView( cV )
::qTabWidget:setCurrentIndex( 0 )
::qTabWidget:setCurrentIndex( ::qTabWidget:count() - 1 )
::qTabWidget:setCurrentIndex( 0 )
IF ::qTabWidget:count() == 1
::oEM:setSourceVisibleByIndex( 0 )
ELSE
::qTabWidget:setCurrentIndex( 0 )
::qTabWidget:setCurrentIndex( ::qTabWidget:count() - 1 )
::qTabWidget:setCurrentIndex( 0 )
ENDIF
NEXT
/* Refresh Stylesheet for all components at once */