ImageTagsSessionHeader: set on action dynamically for show open directory button & change text to open folder

This commit is contained in:
Denis-Cosmin NUTIU 2024-04-10 00:24:21 +03:00
parent 3ecebd0033
commit 402130811e
2 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,9 @@ class ImageTagsSessionHeader : HBox() {
}
updateHeader(0)
openDirectoryButton.setOnAction {
openDirectory()
}
}
/**

View file

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