Commit 2d85141b authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Activate the 'fixed diff view' when shown



If you were on some other tab / view, fixed diff view is updated but not
activated. This leads to confusion and as if nothing happened. This
change fixes that.

Signed-off-by: Waqar Ahmed's avatarWaqar Ahmed <waqar.17a@gmail.com>
(cherry picked from commit b9641c91)
parent f6f3a59f
...@@ -118,6 +118,8 @@ public: ...@@ -118,6 +118,8 @@ public:
/** We don't want save dialog on close */ /** We don't want save dialog on close */
m_fixedView.view->document()->setModified(false); m_fixedView.view->document()->setModified(false);
m_fixedView.restoreMenu(); m_fixedView.restoreMenu();
/** Activate this view */
m_mainWindow->activateView(m_fixedView.view->document());
} }
/** /**
......
Supports Markdown
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