From 1cc93d8814b15260eaafdb26860dd753463ed8f2 Mon Sep 17 00:00:00 2001 From: Artem30801 Date: Fri, 28 Feb 2020 18:35:06 +0300 Subject: [PATCH] Land on button press when one copter selected in visual land --- Server/visual_land_dialog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Server/visual_land_dialog.py b/Server/visual_land_dialog.py index 86ed229..6466a9e 100644 --- a/Server/visual_land_dialog.py +++ b/Server/visual_land_dialog.py @@ -67,6 +67,7 @@ class VisualLandDialog(QtWidgets.QDialog): if self.row_min == self.row_max: # self.ui.one_button.setDisabled(True) # maybe? # self.ui.two_button.setDisabled(True) + self.send_to_selected("land") return if choice == 1: