mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
Fix "Close all BUT this" regression
Due to commit a82819972a6388668a9ce823738aa24c5572d8f4
This commit is contained in:
parent
5271b88fc3
commit
1eb7d2bef5
@ -1249,6 +1249,7 @@ bool Notepad_plus::fileCloseAllButCurrent()
|
|||||||
{
|
{
|
||||||
BufferID current = _pEditView->getCurrentBufferID();
|
BufferID current = _pEditView->getCurrentBufferID();
|
||||||
const int activeViewID = currentView();
|
const int activeViewID = currentView();
|
||||||
|
int active = _pDocTab->getCurrentTabIndex();
|
||||||
bool noSaveToAll = false;
|
bool noSaveToAll = false;
|
||||||
bool saveToAll = false;
|
bool saveToAll = false;
|
||||||
std::vector<unsigned int> mainSaveOpIndex, subSaveOpIndex;
|
std::vector<unsigned int> mainSaveOpIndex, subSaveOpIndex;
|
||||||
@ -1422,7 +1423,6 @@ bool Notepad_plus::fileCloseAllButCurrent()
|
|||||||
}
|
}
|
||||||
|
|
||||||
const int viewNo = currentView();
|
const int viewNo = currentView();
|
||||||
int active = _pDocTab->getCurrentTabIndex();
|
|
||||||
size_t nbItems = _pDocTab->nbItem();
|
size_t nbItems = _pDocTab->nbItem();
|
||||||
activateBuffer(_pDocTab->getBufferByIndex(0), viewNo);
|
activateBuffer(_pDocTab->getBufferByIndex(0), viewNo);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user