# HG changeset patch # User Santeri Piippo # Date 1375450786 -10800 # Node ID 8516b8e14fb43db04db262e395765fa7d7b0a671 # Parent 00eedf400f722c89e2433f8ef87981be30db7cde Angles need to be reset when changing the current file too diff -r 00eedf400f72 -r 8516b8e14fb4 src/file.cpp --- 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());