Changeset 64 for trunk/src/MainPter.cxx

Show
Ignore:
Timestamp:
04/14/06 15:05:24 (3 years ago)
Author:
jordi
Message:

Added the reload action to the GTK's MainView?.

Also I fixed a weird bug (although I don't really know if it's mine) that deleted the m_FileName of the IDocument when reloaded the new file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/MainPter.cxx

    r63 r64  
    263263    gdouble currentZoom = m_Document->getZoom (); 
    264264    // Reopen the document. 
    265     openDocument (m_Document->getFileName (), FALSE); 
     265    openDocument (m_Document->getFileName (), FALSE);     
    266266    // And restore the state 
    267267    m_Document->setZoom (currentZoom);