[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    quanta/quanta/treeviews
From:       Andras Mantia <amantia () freemail ! hu>
Date:       2003-11-09 22:33:47
[Download RAW message or body]

CVS commit by amantia: 

Real fix for 66383, without breaking other cases.


  M +1 -0      filestreeview.cpp   1.59
  M +0 -1      templatestreeview.cpp   1.58


--- quanta/quanta/treeviews/filestreeview.cpp  #1.58:1.59
@@ -603,4 +603,5 @@ void FilesTreeView::slotReload()
       kftvi = dynamic_cast<KFileTreeViewItem*> (it.current());
       if ( kftvi && kftvi->isDir() && kftvi->isOpen()) {
+        kftvi->setListed( false ); // force re-read
         kftvi->branch()->populate(kftvi->url(), kftvi);
       }

--- quanta/quanta/treeviews/templatestreeview.cpp  #1.57:1.58
@@ -306,5 +306,4 @@ void TemplatesTreeView::slotNewDir()
       writeDirInfo(startDir+"/"+createDirDlg->dirName->text()+"/.dirinfo");
    }
-   slotReload();
   }
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic