Remove the toc when closing the doc

svn path=/trunk/KDE/kdegraphics/kpdf/; revision=440089
remotes/origin/kpdf
Albert Astals Cid 21 years ago
parent 692cb5795f
commit 3eb7c7ea55
  1. 2
      ui/toc.cpp

@ -75,7 +75,7 @@ uint TOC::observerId() const
void TOC::notifySetup( const QVector< KPDFPage * > & pages, bool documentChanged )
{
if ( !documentChanged || pages.size() < 1 )
if ( !documentChanged )
return;
// clear contents

Loading…
Cancel
Save