Commit 5fb0d57d authored by Eike Ziller's avatar Eike Ziller Committed by hjk

Hide variable chooser if current edit widget is hidden

Change-Id: I4b908fd76602170a186b9e1430c7d0e65046d17d
Task-number: QTCREATORBUG-13355
Reviewed-by: default avatarRobert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 0b5866bc
......@@ -567,6 +567,8 @@ bool VariableChooser::eventFilter(QObject *obj, QEvent *event)
return handleEscapePressed(ke, this);
} else if (event->type() == QEvent::Resize) {
d->updateButtonGeometry();
} else if (event->type() == QEvent::Hide) {
close();
}
return false;
}
......
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