Filter out previous/next drawcall shortcuts when text editing.

Closes #911

editing.
path.
'ad0678a'.
This commit is contained in:
Baldur Karlsson committed 2018-03-12 15:46:44 +00:00
1 parent 1a268ace8b
commit 68a3f3a31f
5 files changed
+53 -12

No files matched your search

+1 -1
View File
@@ -246,7 +246,7 @@ void ShaderViewer::editShader(bool customShader, const QString &entryPoint, cons
});
m_Ctx.GetMainWindow()->RegisterShortcut(QKeySequence(QKeySequence::Refresh).toString(), this,
[this]() { on_refresh_clicked(); });
[this](QWidget *) { on_refresh_clicked(); });
ui->refresh->setToolTip(ui->refresh->toolTip() +
lit(" (%1)").arg(QKeySequence(QKeySequence::Refresh).toString()));