From 6d1d69f5eb48e8a22389e6a51c606d8324f3bc37 Mon Sep 17 00:00:00 2001 From: Chris Pham Date: Sat, 17 Mar 2018 15:47:12 -0700 Subject: [PATCH] change disable to Enabled --- .../src/Framework/NavigationSystems/WaypointsCoordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py b/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py index 5b4833b..72f6b93 100644 --- a/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py +++ b/software/ros_packages/ground_station/src/Framework/NavigationSystems/WaypointsCoordinator.py @@ -79,7 +79,7 @@ class WaypointsCoordinator(QtCore.QThread): def update_manual_entry(self, name, lat, lng, table): print name, lat, lng, table - self.name_edit_label.setDisable(table+1 % 2) + self.name_edit_label.setEnabled(bool(table)) self.name_edit_label.setText(name) self.latitude_label.setValue(lat) self.longitude_label.setValue(lng)