Browse Source

Fixed the listeners not be attached the first time. DOH!

master
Drew Short 10 years ago
parent
commit
78a5c48fd3
  1. 2
      gui/src/main/scala/com/sothr/imagetools/ui/controller/AppController.scala

2
gui/src/main/scala/com/sothr/imagetools/ui/controller/AppController.scala

@ -54,6 +54,7 @@ class AppController extends Logging {
if (PropertiesService.has("lastPath")) {
currentDirectory = PropertiesService.get("lastPath", ".")
selectedDirectoryLabel.setText(PropertiesService.get("lastPath", ""))
}
//setup the engine listener
val system: ActorSystem = AppConfig.getAppActorSystem
@ -66,7 +67,6 @@ class AppController extends Logging {
this.engine.setSimilarityListener(guiListener)
// Initialize the progress label
guiListener ! SubmitMessage("Initialized System... Ready!")
}
//test
//val testImage = new Image()

Loading…
Cancel
Save