mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Bind to clicked not pressed (clicked fires too early, before mouseup)
This commit is contained in:
@@ -33,7 +33,7 @@ PerformanceCounterViewer::PerformanceCounterViewer(ICaptureContext &ctx, QWidget
|
||||
|
||||
m_Ctx.AddLogViewer(this);
|
||||
|
||||
connect(ui->captureCounters, &QToolButton::pressed, this,
|
||||
connect(ui->captureCounters, &QToolButton::clicked, this,
|
||||
&PerformanceCounterViewer::CaptureCounters);
|
||||
|
||||
ui->captureCounters->setEnabled(m_Ctx.LogLoaded());
|
||||
|
||||
Reference in New Issue
Block a user