From 336992ea77389255eb14759880cfb4e1a88ea2f6 Mon Sep 17 00:00:00 2001 From: SinghRajenM Date: Tue, 21 Mar 2017 00:18:51 +0530 Subject: [PATCH] Activate buffer after reload Fixes #3080, closes #3082 --- PowerEditor/src/NppIO.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index e88fcb988..b23b96b47 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -444,6 +444,10 @@ bool Notepad_plus::doReload(BufferID id, bool alert) _subEditView.execute(SCI_SETDOCPOINTER, 0, pBuf->getDocument()); _subEditView.restoreCurrentPos(); } + + // Once reload is complete, activate buffer which will take care of + // many settings such as update status bar, clickable link etc. + activateBuffer(id, currentView()); return res; }