Commit c8712236 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

project: set diff view position to top

parent 2626a9eb
......@@ -117,6 +117,7 @@ public:
m_fixedView.view->document()->setHighlightingMode(QStringLiteral("Diff"));
/** We don't want save dialog on close */
m_fixedView.view->document()->setModified(false);
m_fixedView.view->setCursorPosition({0, 0});
m_fixedView.restoreMenu();
/** Activate this view */
m_mainWindow->activateView(m_fixedView.view->document());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment