mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
Show variable context menu for constants panel as well
This commit is contained in:
1 file changed
+3
@@ -985,6 +985,9 @@ void ShaderViewer::debugShader(const ShaderBindpointMapping *bind, const ShaderR
|
||||
ui->watch->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
QObject::connect(ui->watch, &RDTreeWidget::customContextMenuRequested, this,
|
||||
&ShaderViewer::variables_contextMenu);
|
||||
ui->constants->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
QObject::connect(ui->constants, &RDTreeWidget::customContextMenuRequested, this,
|
||||
&ShaderViewer::variables_contextMenu);
|
||||
ui->debugVars->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
QObject::connect(ui->debugVars, &RDTreeWidget::customContextMenuRequested, this,
|
||||
&ShaderViewer::variables_contextMenu);
|
||||
|
||||
Reference in new issue
Block a user