Skip to content

Commit

Permalink
Disable generatorSettingsGroupBox for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR committed Jan 6, 2025
1 parent 35c74da commit ab66f29
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ NxtAdditionalPreferences::NxtAdditionalPreferences(const QString &realRobotName,
{
mUi->setupUi(this);
mUi->robotImagePicker->configure("nxtRobot2DImage", tr("2D robot image:"));
mUi->compilerPicker->configure("pathToArmNoneEabi", tr("Path to arm-none-eabi:"));
setTextOnGeneratorLabel();
if (PlatformInfo::osType() == "linux") {
mUi->compilerPicker->configure("pathToArmNoneEabi", tr("Path to arm-none-eabi:"));
setTextOnGeneratorLabel();
}
else {
mUi->generatorSettingsGroupBox->setVisible(false);
}
connect(mUi->manualComPortCheckbox, &QCheckBox::toggled
, this, &NxtAdditionalPreferences::manualComPortCheckboxChecked);
}
Expand Down

0 comments on commit ab66f29

Please sign in to comment.