Commit fb10ef3e authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fix crash in watt when close is pending.

parent 5d086f9c
...@@ -192,8 +192,6 @@ void WAttQtWidget::focusInEvent(QFocusEvent* event) ...@@ -192,8 +192,6 @@ void WAttQtWidget::focusInEvent(QFocusEvent* event)
void WAttQtWidget::hide_cmd_entry() void WAttQtWidget::hide_cmd_entry()
{ {
watt->wattnav->set_inputfocus();
if (watt->input_open) { if (watt->input_open) {
watt->cmd_prompt->setVisible(false); watt->cmd_prompt->setVisible(false);
watt->input_open = 0; watt->input_open = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment