2010-01-03 03:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* contrib/hbide/hbide.prg
    ! Applied Vailton's patch posted as diff.
This commit is contained in:
Pritpal Bedi
2010-01-03 11:02:26 +00:00
parent bfa271d4e5
commit c846812f85
2 changed files with 6 additions and 5 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-03 03:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/hbide/hbide.prg
! Applied Vailton's patch posted as diff.
2010-01-03 11:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/generator/hbqtgen.prg
! Fixed formatting for one generated headder.

View File

@@ -735,6 +735,8 @@ METHOD HbIde:closeSource( nTab, lCanCancel, lCanceled )
IF !::aTabs[ nTab, TAB_QDOCUMENT ]:isModified()
* File has not changed, ignore the question to User
lSave := .f.
ELSEIF lCanCancel
n := GetYesNoCancel( ::aTabs[ nTab, TAB_OTAB ]:Caption, ;
"Has been modified, save this source?", 'Save?' )
@@ -772,11 +774,6 @@ METHOD HbIde:closeAllSources()
* Finally now we will close all tabs.
DO WHILE ( ++i <= Len( ::aTabs ) )
IF !::aTabs[ i, TAB_QDOCUMENT ]:isModified()
Loop
End
IF ::closeSource( i, .T., @lCanceled )
i --
Loop