2010-06-30 10:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbide/idebrowse.prg
    ! Fixed: closing a table in ideDBU was causing RTE.
This commit is contained in:
Pritpal Bedi
2010-06-30 17:27:10 +00:00
parent 26ca5da0db
commit ad8660b652
2 changed files with 7 additions and 3 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-06-30 10:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg
! Fixed: closing a table in ideDBU was causing RTE.
2010-06-30 19:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/vm/extend.c
* include/hbapi.h

View File

@@ -301,10 +301,10 @@ METHOD IdeBrowseManager:execEvent( cEvent, p )
CASE "buttonClose_clicked"
IF !empty( ::oCurBrw )
IF ( n := ascan( ::aItems, {|oBrw| oBrw == ::oCurBrw } ) ) > 0
hb_adel( ::aItems, n, .t. )
IF ( n := ascan( ::oCurPanel:aItems, {|o| o == ::oCurBrw } ) ) > 0
hb_adel( ::oCurPanel:aItems, n, .t. )
::oCurBrw:destroy()
FOR EACH oBrw IN ::aItems
FOR EACH oBrw IN ::oCurPanel:aItems
oBrw:oBrw:configure()
NEXT
ENDIF