forked from qt-creator/qt-creator
QmlProfiler: Allow multiple events views loaded from plugins
Change-Id: Ifaf4e63f4a843a42a1a22f005e87d8c1a4604686 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -242,11 +242,11 @@ void QmlProfilerTraceView::showContextMenu(QPoint position)
|
||||
menu.addActions(QmlProfilerTool::profilerContextMenuActions());
|
||||
menu.addSeparator();
|
||||
|
||||
QAction *getLocalStatsAction = menu.addAction(tr("Limit Statistics Pane to Current Range"));
|
||||
QAction *getLocalStatsAction = menu.addAction(tr("Analyze Current Range"));
|
||||
if (!d->m_viewContainer->hasValidSelection())
|
||||
getLocalStatsAction->setEnabled(false);
|
||||
|
||||
QAction *getGlobalStatsAction = menu.addAction(tr("Show Full Range in Statistics Pane"));
|
||||
QAction *getGlobalStatsAction = menu.addAction(tr("Analyze Full Range"));
|
||||
if (!d->m_viewContainer->isEventsRestrictedToRange())
|
||||
getGlobalStatsAction->setEnabled(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user