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
Ben Boeckel
QtTesting
Commits
f748d220
Commit
f748d220
authored
Nov 06, 2007
by
Clinton Stimpson
Browse files
BUG: call click() when toggling buttons, so appropriate signals are emitted.
Fixes #5981.
parent
774944e0
Changes
1
Show whitespace changes
Inline
Side-by-side
pqAbstractBooleanEventPlayer.cxx
View file @
f748d220
...
@@ -50,7 +50,7 @@ bool pqAbstractBooleanEventPlayer::playEvent(QObject* Object, const QString& Com
...
@@ -50,7 +50,7 @@ bool pqAbstractBooleanEventPlayer::playEvent(QObject* Object, const QString& Com
if
(
QAbstractButton
*
const
object
=
qobject_cast
<
QAbstractButton
*>
(
Object
))
if
(
QAbstractButton
*
const
object
=
qobject_cast
<
QAbstractButton
*>
(
Object
))
{
{
if
(
value
!=
object
->
isChecked
())
if
(
value
!=
object
->
isChecked
())
object
->
setChecked
(
value
);
object
->
click
(
);
return
true
;
return
true
;
}
}
...
...
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