VirtualBox

Changeset 83483 in vbox


Ignore:
Timestamp:
Mar 30, 2020 1:45:53 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9686: UIToolPaneGlobal: Let VM Resource Monitor tool know whether it's currently active tool; This allows to start/stop update timer accordingly; Based on r136714 and r136724.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIToolPaneGlobal.cpp

    r83482 r83483  
    265265{
    266266    // printf("UIToolPaneGlobal::handleTokenChange: Active = %d, current tool = %d\n", m_fActive, currentTool());
    267 }
     267
     268    /* Determine whether resource monitor is currently active tool: */
     269    if (m_pPaneResourceMonitor)
     270        m_pPaneResourceMonitor ->setIsCurrentTool(m_fActive && currentTool() == UIToolType_VMResourceMonitor);
     271}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette