Add F5 as a shortcut to update the buffer format

This commit is contained in:
baldurk
2022-05-23 16:32:35 +01:00
parent c5a588d2e4
commit 8d5950af89
@@ -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();
}