mirror of
				https://github.com/notepad-plus-plus/notepad-plus-plus.git
				synced 2025-10-31 19:44:06 +01:00 
			
		
		
		
	[BUG_FIXED] (Author: Pekka Pöyry) Fix tab display bug when buffer's filename is changed or buffer is closed.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@998 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
		
							parent
							
								
									d0395e1ffe
								
							
						
					
					
						commit
						e96c9b151b
					
				| @ -4450,6 +4450,8 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask) | ||||
| 
 | ||||
| 	if (mask & (BufferChangeDirty|BufferChangeFilename)) | ||||
| 	{ | ||||
| 		if(mask & BufferChangeFilename) | ||||
| 			command(IDM_VIEW_REFRESHTABAR); | ||||
| 		checkDocState(); | ||||
| 		setTitle(); | ||||
| 		generic_string dir(buffer->getFullPathName()); | ||||
|  | ||||
| @ -388,6 +388,7 @@ void Notepad_plus::doClose(BufferID id, int whichOne) | ||||
| 				_pFileSwitcherPanel->closeItem((int)hiddenBufferID, whichOne); | ||||
| 		} | ||||
| 	} | ||||
| 	command(IDM_VIEW_REFRESHTABAR); | ||||
| 	return; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user