mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix mistaken && insteasd of & checking control key modifier
This commit is contained in:
@@ -495,7 +495,7 @@ PythonShell::PythonShell(ICaptureContext &ctx, QWidget *parent)
|
||||
});
|
||||
|
||||
QObject::connect(scriptEditor, &ScintillaEdit::keyPressed, [this](QKeyEvent *ev) {
|
||||
if(ev->key() == Qt::Key_Space && ev->modifiers() && Qt::ControlModifier)
|
||||
if(ev->key() == Qt::Key_Space && (ev->modifiers() & Qt::ControlModifier))
|
||||
{
|
||||
startAutocomplete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user