• Daniel Teske's avatar
    ProjectTree: Fix context menu actions · 27fd8d4e
    Daniel Teske authored
    Opening the context menu would move the focus, which then would
    reset the current node/project to come from the DocumentManager.
    
    So move the context menu handling code to the ProjectTree class
    and ensure that while it is open, the corresponding ProjectTree
    is considered the focused widget.
    
    Task-number: QTCREATORBUG-13684
    Change-Id: I8b3dc410f5f5bc5e9a2dd663421b22cf3f147190
    Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
    27fd8d4e
projecttree.h 5.71 KB