Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a crash

  • Loading branch information...
commit 653e686914f37408de2be5dd3ab33db26db6ebd0 1 parent ffea628
@bmcdorman bmcdorman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/console_widget.cpp
View
1  src/console_widget.cpp
@@ -36,6 +36,7 @@ QProcess *ConsoleWidget::process() const
void ConsoleWidget::keyPressEvent(QKeyEvent *event)
{
+ if(!m_process) return;
QTextEdit::keyPressEvent(event);
if(event->modifiers() != Qt::NoModifier && event->modifiers() != Qt::ShiftModifier) return;
QString text = event->text();
Please sign in to comment.
Something went wrong with that request. Please try again.