File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/kotlin/view/component Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class BatchProcessTab : Fragment("Batch Processing") {
2020 private val batchProcessor: BatchProcessorModel by inject()
2121 private val engine: FileController by inject()
2222
23- private val focusedImageProperty = SimpleObjectProperty (Image ( " ./test_image.png " ) )
23+ private val focusedImageProperty: SimpleObjectProperty < Image > = SimpleObjectProperty ()
2424 private var focusedImage by focusedImageProperty
2525
2626 private val imagesListView = listview(batchProcessor.transformedImages) {
@@ -81,17 +81,17 @@ class BatchProcessTab : Fragment("Batch Processing") {
8181
8282 bottom = buttonbar {
8383 button(" Import" ).action { importImages() }
84- button(" Apply" ).action { batchProcessor.apply () }
8584 button(" Remove" ).action {
8685 batchProcessor.remove(
8786 * imagesListView.selectionModel.selectedIndices.toIntArray()
8887 )
8988 }
89+ button(" Apply All" ).action { batchProcessor.apply () }
90+ button(" Export All" ).action { exportImages() }
9091 button(" Revert" ).action {
9192 batchProcessor.revert()
9293 engine.revert()
9394 }
94- button(" Export" ).action { exportImages() }
9595 padding = Insets (15.0 )
9696 }
9797 },
You can’t perform that action at this time.
0 commit comments