Remove error

This commit is contained in:
huangyuhui 2018-03-06 11:25:15 +08:00
parent fb1fc92b7c
commit 44aff94937

View File

@ -199,7 +199,7 @@ public final class MainPage extends StackPane implements DecoratorPage {
FXUtils.openFolder(repository.getRunDirectory(id));
break;
default:
throw new Error();
break;
}});
versionPopup.show(item, JFXPopup.PopupVPosition.TOP, JFXPopup.PopupHPosition.LEFT, event.getX(), event.getY());
} else if (event.getButton() == MouseButton.PRIMARY && event.getClickCount() == 2) {