mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Set title for node explorer windows (#1551)
This commit is contained in:
parent
0e3005518e
commit
544fd943f4
@ -19,6 +19,8 @@ import net.corda.finance.contracts.asset.Cash
|
||||
import tornadofx.*
|
||||
import java.security.PublicKey
|
||||
|
||||
const val WINDOW_TITLE = "Corda Node Explorer"
|
||||
|
||||
/**
|
||||
* Helper method to reduce boiler plate code
|
||||
*/
|
||||
|
@ -10,7 +10,7 @@ import org.controlsfx.dialog.ExceptionDialog
|
||||
import tornadofx.*
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
class LoginView : View() {
|
||||
class LoginView : View(WINDOW_TITLE) {
|
||||
override val root by fxml<DialogPane>()
|
||||
|
||||
private val hostTextField by fxid<TextField>()
|
||||
|
@ -30,7 +30,7 @@ import tornadofx.*
|
||||
/**
|
||||
* The root view embeds the [Shell] and provides support for the status bar, and modal dialogs.
|
||||
*/
|
||||
class MainView : View() {
|
||||
class MainView : View(WINDOW_TITLE) {
|
||||
override val root by fxml<Parent>()
|
||||
|
||||
// Inject components.
|
||||
|
Loading…
x
Reference in New Issue
Block a user