Compare commits
2 Commits
9250d8ebab
...
ad06f5ff45
Author | SHA1 | Date |
---|---|---|
wtlgo | ad06f5ff45 | |
wtlgo | 2dda90b158 |
|
@ -329,7 +329,11 @@ public class ViaManagerImpl implements ViaManager {
|
|||
* @param runnable runnable to be executed
|
||||
*/
|
||||
public void addEnableListener(Runnable runnable) {
|
||||
enableListeners.add(runnable);
|
||||
if (enableListeners != null) {
|
||||
enableListeners.add(runnable);
|
||||
} else {
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue