summaryrefslogtreecommitdiff
path: root/altosuilib/AltosDeviceDialog.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-10 18:43:31 -0700
committerKeith Packard <keithp@keithp.com>2014-07-10 18:43:31 -0700
commit5f5b03879d9daa68a56498b45ae87a804cb1926b (patch)
treee4894fe10897dc90f75eb1a424566029812f095d /altosuilib/AltosDeviceDialog.java
parentaac3fdce54233993c91d326df3732a7c448ac54a (diff)
altosui: Don't show bluetooth UI bits on mac/windows
This just confuses people into thinking that bluetooth is supported on those machines. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosDeviceDialog.java')
-rw-r--r--altosuilib/AltosDeviceDialog.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/altosuilib/AltosDeviceDialog.java b/altosuilib/AltosDeviceDialog.java
index 0875bea7..d2ccd5e7 100644
--- a/altosuilib/AltosDeviceDialog.java
+++ b/altosuilib/AltosDeviceDialog.java
@@ -131,7 +131,8 @@ public abstract class AltosDeviceDialog extends AltosUIDialog implements ActionL
buttonPane.add(cancel_button);
buttonPane.add(Box.createRigidArea(new Dimension(10, 0)));
- add_bluetooth();
+ if (AltosUILib.has_bluetooth)
+ add_bluetooth();
buttonPane.add(select_button);