dont make the cursor jump when reloading a dir (F5), this was annoying

Description

dont make the cursor jump when reloading a dir (F5), this was annoying
Is this to late for 2.2.2 ?
Will we have 2.2.3 ?

Alex

  • konq_listviewwidget.cc 2001/08/01 23:22:09 1.168

+++ konq_listviewwidget.cc 2001/11/09 00:57:31
@@ -875,16 +875,20 @@

m_dirLister->setNameFilter( m_pBrowserView->nameFilter() );
m_dirLister->setMimeFilter( m_pBrowserView->mimeFilter() );
  • // Start the directory lister !
  • m_dirLister->openURL( url, m_pBrowserView->m_pProps->isShowingDotFiles(), false /* new url */ ); - if ( m_pBrowserView->extension()->urlArgs().reload )

+ {
+ if (currentItem()!=0)

{
  • m_itemFound = true;

+ m_itemToGoTo=currentItem()->text(0);

m_goToFirstItem = false;

+ }
+ else
+ m_goToFirstItem = true;

   m_xOffset = contentsX();
   m_yOffset = contentsY();
}

+ // Start the directory lister !
+ m_dirLister->openURL( url, m_pBrowserView->m_pProps->isShowingDotFiles(), false /* new url */ );

Details

Committed
neundorfNov 9 2001, 1:00 AM
Parents
R883:121404: keep the cursor on the same item when reloading (F5)
Branches
Unknown
Tags
Unknown