Skip to content

Commit

Permalink
Merge pull request #85 from UmbrellaLeaf5/smaller_fixes
Browse files Browse the repository at this point in the history
smaller fixes
  • Loading branch information
MrWh1teF0x authored May 15, 2024
2 parents e6a8b0a + aa72c57 commit bf0da5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ git clone --recurse-submodules https://github.com/UmbrellaLeaf5/locus_no_pilotus
## Used libs and packages
* [CMake](https://cmake.org/): main project build system
* [Qt](https://www.qt.io/): main project library for full-working program
* [QCustomPlot](https://www.qcustomplot.com/): library for drawing all objects on same place with autoscaling ([submodule](https://github.com/legerch/QCustomPlot-library "reference for submodule with lib in GitHub"))
* [QCustomPlot](https://www.qcustomplot.com/): library for drawing all objects on same place with autoscaling ([submodule](https://github.com/UmbrellaLeaf5/qcustomplot "reference for submodule with lib in GitHub"))
* [IceCream-Cpp](https://github.com/renatoGarcia/icecream-cpp): library for simple code debugging (we really recommend to use it in C++ projects)
* [Doxygen](https://www.doxygen.nl/): full documentation generation
* [Doxygen Awesome](https://github.com/jothepro/doxygen-awesome-css): convenient CSS theme for Doxygen HTML documentation (it is really awesome)
Expand Down
8 changes: 5 additions & 3 deletions main/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ MainWindow::MainWindow(QWidget* parent)
int_validator->setRange(1, 9);
ui->robotsAmountLineEdit->setValidator(int_validator);

connect(
ui->plotSettingsDockWidget, &QDockWidget::visibilityChanged, this,
[this](bool visible) { ui->flyRobotPushButton->setEnabled(!visible); });
connect(ui->plotSettingsDockWidget, &QDockWidget::visibilityChanged, this,
[this](bool visible) {
if (is_drown_trajectory_)
ui->flyRobotPushButton->setEnabled(!visible);
});
}

MainWindow::~MainWindow() { delete ui; }

0 comments on commit bf0da5f

Please sign in to comment.