From d815ae498142ae4fe203c7ffa8ef28a111ca563e Mon Sep 17 00:00:00 2001 From: Don Ho Date: Wed, 15 Oct 2014 22:24:14 +0000 Subject: [PATCH] [BUG_FIXED] (Author: Pavel Nedev) Fix docSwitcher bug which shows new 0 after loading a session of files. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1279 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/NppIO.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index d8f1872e..6fdecbfc 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -1424,6 +1424,10 @@ bool Notepad_plus::loadSession(Session & session, bool isSnapshotMode) hideView(otherView()); else if (canHideView(currentView())) hideView(currentView()); + + if (_pFileSwitcherPanel) + _pFileSwitcherPanel->reload(); + return allSessionFilesLoaded; }