We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864448d commit 4729374Copy full SHA for 4729374
mslib/msui/tableview.py
@@ -260,7 +260,7 @@ def is_roundtrip_possible(self):
260
condition = first_waypoint.lat != last_waypoint.lat or first_waypoint.lon != last_waypoint.lon or \
261
first_waypoint.flightlevel != last_waypoint.flightlevel
262
263
- return condition
+ return bool(condition)
264
265
def update_roundtrip_enabled(self):
266
self.btRoundtrip.setEnabled(self.is_roundtrip_possible())
0 commit comments