mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-21 12:11:28 +00:00
renaming methods
This commit is contained in:
@@ -46,12 +46,12 @@ public class ChooseExistingVaultController implements FxController {
|
||||
}
|
||||
|
||||
@FXML
|
||||
public void goBack() {
|
||||
public void back() {
|
||||
fxmlLoaders.setScene("/fxml/addvault_welcome.fxml", window);
|
||||
}
|
||||
|
||||
@FXML
|
||||
public void confirm() {
|
||||
public void finish() {
|
||||
//TODO: error handling & cannot unlock added vault
|
||||
VaultSettings vaultSettings = VaultSettings.withRandomId();
|
||||
vaultSettings.path().setValue(vaultPath.get());
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
<Region VBox.vgrow="ALWAYS"/>
|
||||
<ButtonBar buttonMinWidth="120" buttonOrder="B+I">
|
||||
<buttons>
|
||||
<Button text="TODO Back" ButtonBar.buttonData="BACK_PREVIOUS" onAction="#goBack"/>
|
||||
<Button text="TODO Open" ButtonBar.buttonData="FINISH" onAction="#confirm" defaultButton="true"/>
|
||||
<Button text="TODO Back" ButtonBar.buttonData="BACK_PREVIOUS" onAction="#back"/>
|
||||
<Button text="TODO Open" ButtonBar.buttonData="FINISH" onAction="#finish" defaultButton="true"/>
|
||||
</buttons>
|
||||
</ButtonBar>
|
||||
</children>
|
||||
|
||||
Reference in New Issue
Block a user