mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-05 05:46:44 +00:00
Disable transaction saving menu items after a transaction tab is closed and no other tabs are open
This commit is contained in:
parent
f7f5852476
commit
e740c6d162
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ public class AppController implements Initializable {
|
||||||
if(tabs.getTabs().isEmpty()) {
|
if(tabs.getTabs().isEmpty()) {
|
||||||
Stage tabStage = (Stage)tabs.getScene().getWindow();
|
Stage tabStage = (Stage)tabs.getScene().getWindow();
|
||||||
tabStage.setTitle("Sparrow");
|
tabStage.setTitle("Sparrow");
|
||||||
|
saveTransaction.setVisible(true);
|
||||||
|
saveTransaction.setDisable(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue