*
* The MIT License (MIT)
*
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2017 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
public void dispatch() {
assert (isEnabled());
- getApplication().addMenuEvent(new TMenuEvent(id));
+ getApplication().postMenuEvent(new TMenuEvent(id));
if (checkable) {
checked = !checked;
}