This is a multi-part message in MIME format. --------------2371565033D303C356BCACCE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Now WITH attachment. :-) Tom Tom Verbeure wrote: > > Hello All, > > not sure where I have to post this (should I mail to the owner of the > file?), but this is a patch to fix a lock-up in the "Create Template > from Document" dialog box in Kword and others. > Basically, when you were clicking any field that was not the directory > in which the template had to be saved (eg. clicking on a document > template name), the whole thing got into an infinite recursive loop. > > Regards, > Tom --------------2371565033D303C356BCACCE Content-Type: text/plain; charset=us-ascii; name="koTemplateCreateDia.cc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="koTemplateCreateDia.cc.patch" --- koTemplateCreateDia.orig.cc Sat Jan 29 15:46:02 2000 +++ koTemplateCreateDia.cc Sat Jan 29 15:53:15 2000 @@ -233,7 +233,7 @@ if ( it.current()->parent() && !it.current()->parent()->parent() ) { folderList->setSelected( it.current(), TRUE ); - folderList->setCurrentItem( item ); + folderList->setCurrentItem( it.current() ); folderList->setSelected( item, FALSE ); return; } @@ -243,7 +243,7 @@ if ( it.current()->parent() && !it.current()->parent()->parent() ) { folderList->setSelected( it.current(), TRUE ); - folderList->setCurrentItem( item ); + folderList->setCurrentItem( it.current() ); folderList->setSelected( item, FALSE ); return; } --------------2371565033D303C356BCACCE--