1
0
Fork 0
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:
dpad85 2017-03-09 16:46:10 +01:00
parent 245ed99baa
commit d511796f90

View file

@ -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)
}
})