mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-06 17:38:48 +00:00
PlanActivity: Disable context menu if station hasn't got an ID.
This commit is contained in:
parent
513b2b1609
commit
84b6920c06
1 changed files with 3 additions and 0 deletions
|
@ -337,6 +337,9 @@ public class PlanActivity extends Activity {
|
|||
layoutParams.x = coords[0];
|
||||
layoutParams.y = coords[1];
|
||||
bubble.requestLayout();
|
||||
bubble.setEnabled(selection.location.hasId());
|
||||
} else {
|
||||
bubble.setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue