Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8d6e0f07
Commit
8d6e0f07
authored
Mar 16, 2014
by
Lorenz Meier
Browse files
Fix check for dsm radio button
parent
3bed19df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/QGCPX4VehicleConfig.cc
View file @
8d6e0f07
...
@@ -359,7 +359,8 @@ void QGCPX4VehicleConfig::toggleSpektrumPairing(bool enabled)
...
@@ -359,7 +359,8 @@ void QGCPX4VehicleConfig::toggleSpektrumPairing(bool enabled)
{
{
Q_UNUSED
(
enabled
);
Q_UNUSED
(
enabled
);
if
(
!
ui
->
dsm2RadioButton
->
isChecked
()
&&
!
ui
->
dsmxRadioButton
&&
!
ui
->
dsmx8RadioButton
)
{
if
(
!
ui
->
dsm2RadioButton
->
isChecked
()
&&
!
ui
->
dsmxRadioButton
->
isChecked
()
&&
!
ui
->
dsmx8RadioButton
->
isChecked
())
{
// Reject
// Reject
QMessageBox
warnMsgBox
;
QMessageBox
warnMsgBox
;
warnMsgBox
.
setText
(
tr
(
"Please select a Spektrum Protocol Version"
));
warnMsgBox
.
setText
(
tr
(
"Please select a Spektrum Protocol Version"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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