Commit 37a61021 authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Fix crash in WAtt when a close event is pending.

parent 553e0009
...@@ -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