forked from qt-creator/qt-creator
		
	Timeline: updateCursorPosition() also if file is unknown
We still want to synchronize the views in this case. Change-Id: Ie65bec76b194bb9ac6027f16cbb770787a78d871 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
		@@ -239,8 +239,7 @@ Rectangle {
 | 
			
		||||
                var newTypeId = model.typeId(selectedItem);
 | 
			
		||||
                if (newTypeId !== typeId) {
 | 
			
		||||
                    typeId = newTypeId;
 | 
			
		||||
                    if (eventLocation.file !== undefined)
 | 
			
		||||
                        root.updateCursorPosition();
 | 
			
		||||
                    root.updateCursorPosition();
 | 
			
		||||
                }
 | 
			
		||||
            } else {
 | 
			
		||||
                rangeDetails.hide();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user