[BUG_FIXED] Fix the bug that the title doesn't be updated while file status changed and updated.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@69 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
0898192c6e
commit
80df519dbc
@ -3967,7 +3967,7 @@ void Notepad_plus::checkModifiedDocument()
|
||||
|
||||
if (update || doReloadOrNot(docBuf.getFileName()) == IDYES)
|
||||
{
|
||||
pDocTabArray[j]->activate(i);
|
||||
setTitleWith(pDocTabArray[j]->activate(i));
|
||||
// if it's a non current view, make it as the current view
|
||||
if (j == 1)
|
||||
switchEditViewTo(getNonCurrentView());
|
||||
@ -4000,11 +4000,11 @@ void Notepad_plus::checkModifiedDocument()
|
||||
pDocTabArray[j]->activate(i);
|
||||
if ((pScintillaArray[j]->getNbDoc() == 1) && (_mainWindowStatus & TWO_VIEWS_MASK))
|
||||
{
|
||||
pDocTabArray[j]->closeCurrentDoc();
|
||||
setTitleWith(pDocTabArray[j]->closeCurrentDoc());
|
||||
hideCurrentView();
|
||||
}
|
||||
else
|
||||
pDocTabArray[j]->closeCurrentDoc();
|
||||
setTitleWith(pDocTabArray[j]->closeCurrentDoc());
|
||||
}
|
||||
else
|
||||
docBuf._dontBotherMeAnymore = true;
|
||||
|
Loading…
Reference in New Issue
Block a user