WSL/SLF GitLab Repository
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
snow-models
inishell
Commits
0bb15b1b
Commit
0bb15b1b
authored
Sep 07, 2021
by
Michael Reisecker
Browse files
Typo
parent
c47dbec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/panels/Atomic.cc
View file @
0bb15b1b
...
...
@@ -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 un
read
. This also prevents selecting all
//the value show and we mark it as un
hidden
. 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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment