ImageTagsSessionHeader: set on action dynamically for show open directory button & change text to open folder
This commit is contained in:
parent
3ecebd0033
commit
402130811e
2 changed files with 4 additions and 1 deletions
|
@ -45,6 +45,9 @@ class ImageTagsSessionHeader : HBox() {
|
|||
}
|
||||
|
||||
updateHeader(0)
|
||||
openDirectoryButton.setOnAction {
|
||||
openDirectory()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</padding>
|
||||
<Label fx:id="title" text="9 Apr. 2024" styleClass="sessionTitle"/>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="openDirectoryButton" onAction="#openDirectory" text="Open Directory">
|
||||
<Button fx:id="openDirectoryButton" text="Open Folder">
|
||||
<tooltip>
|
||||
<Tooltip text="Open directory of the images"/>
|
||||
</tooltip>
|
||||
|
|
Loading…
Reference in a new issue