mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Add F5 as a shortcut to update the buffer format
This commit is contained in:
@@ -164,6 +164,9 @@ void BufferFormatSpecifier::setContext(ICaptureContext *ctx)
|
||||
QObject::connect(globalFormatList, &BufferFormatList::formatListUpdated, this,
|
||||
&BufferFormatSpecifier::updateFormatList);
|
||||
|
||||
m_Ctx->GetMainWindow()->RegisterShortcut(QKeySequence(QKeySequence::Refresh).toString(), this,
|
||||
[this](QWidget *) { on_apply_clicked(); });
|
||||
|
||||
updateFormatList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user