Fri, 02 Aug 2013 16:39:46 +0300
Angles need to be reset when changing the current file too
src/file.cpp | file | annotate | diff | comparison | revisions |
--- a/src/file.cpp Fri Aug 02 16:36:38 2013 +0300 +++ b/src/file.cpp Fri Aug 02 16:39:46 2013 +0300 @@ -972,11 +972,13 @@ m_curfile = f; if (g_win && f) { + // A ton of stuff needs to be updated g_win->clearSelection(); g_win->updateFileListItem (f); g_win->buildObjList(); g_win->updateTitle(); g_win->R()->setFile (f); + g_win->R()->resetAngles(); g_win->R()->repaint(); log ("Changed file to %1", f->getShortName());