WSL/SLF GitLab Repository

Commit 0bb15b1b authored by Michael Reisecker's avatar Michael Reisecker
Browse files


parent c47dbec8
......@@ -53,7 +53,7 @@ bool FocusEventFilter::eventFilter(QObject *object, QEvent *event)
QTimer::singleShot(delay_t, object, [=]{ textfield->selectAll(); });
else if (auto *spinbox = qobject_cast<QAbstractSpinBox *>(object))
//This is from a Number panel -> in case it is hidden the selection will make
//the value show and we mark it as unread. This also prevents selecting all
//the value show and we mark it as unhidden. This also prevents selecting all
//text again after input:
QTimer::singleShot(delay_t, object, [=]{ object->setProperty("empty", false); spinbox->selectAll(); });
else if (auto *dropdown = qobject_cast<QComboBox *>(object))
Supports Markdown
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