mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 06:21:42 +01:00
(gui) when channel is offline, close button label is 'Force close'
This commit is contained in:
parent
245ed99baa
commit
d511796f90
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class GUIUpdater(primaryStage: Stage, mainController: MainController, setup: Set
|
|||
override def run = {
|
||||
// enable reconnect if channel OFFLINE and this node is the funder of the channel
|
||||
channelPaneController.reconnect.setDisable(!(OFFLINE == currentState && "Yes".equals(channelPaneController.funder.getText)))
|
||||
channelPaneController.close.setText( if (OFFLINE == currentState) "Force close" else "Close")
|
||||
channelPaneController.state.setText(currentState.toString)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue