--k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline On Thu, Sep 05, 2002 at 11:03:33PM +0200, Cornelius Schumacher wrote: > On Thursday 05 September 2002 18:33, Tobias Koenig wrote: > > On Thu, Sep 05, 2002 at 10:33:05PM +1000, David Findlay wrote: > > Hi David, > > > > > I note that this bug still exists in 3.0.3. Is it now fixed in CVS > > > > Yes > > Is it possible to also fix it in the stable branch? I guess a KListView::saveLayout() and KListView::restoreLayout() at the right places should do the trick. Whats about the attached patch? > > > and will it be fixed if there is a 3.0.4 release? > > > > The next release is KDE3.1 where version 3.0.7 will be included. > > What's version 3.0.7? Oops, I mixed up the version of KDE and KAddressBook :) Ciao, Tobias -- In a world without walls and fences who needs Windows and Gates??? --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename="kaddressbook.diff" ? kaddressbook.diff Index: contactlistview.cpp =================================================================== RCS file: /home/kde/kdebase/kaddressbook/Attic/contactlistview.cpp,v retrieving revision 1.10 diff -u -b -p -r1.10 contactlistview.cpp --- contactlistview.cpp 2002/02/13 10:49:27 1.10 +++ contactlistview.cpp 2002/07/23 20:58:58 @@ -299,6 +299,7 @@ void ContactListView::saveConfig() KConfig *config = kapp->config(); config->setGroup("ListView"); + saveLayout( config, config->group() ); config->writeEntry( "sortColumn", header()->mapToActual( column )); config->writeEntry( "sortDirection", ascending ); @@ -317,6 +318,7 @@ void ContactListView::readConfig() KConfig *config = kapp->config(); config->setGroup("ListView"); + restoreLayout(config, config->group()); column = config->readNumEntry( "sortColumn", 0 ); ascending = config->readBoolEntry( "sortDirection", true ); --k+w/mQv8wyuph6w0-- _______________________________________________ kde-pim mailing list kde-pim@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/