File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/main/java/qupath/ext/align/gui Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ dependencies {
1414
1515 implementation(libs.bundles.qupath)
1616 implementation(libs.bundles.logging)
17+ implementation(libs.qupath.fxtras)
1718
1819 // For testing
1920 testImplementation(libs.junit)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pluginManagement {
88}
99
1010qupath {
11- version = " 0.5.0 "
11+ version = " 0.6.0-SNAPSHOT "
1212}
1313
1414// Apply QuPath Gradle settings plugin to handle configuration
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ public ImageAlignmentPane(final QuPathGUI qupath) {
409409 ImageData <BufferedImage > imageDataBase = viewer .getImageData ();
410410 ImageData <BufferedImage > imageDataSelected = selectedImageData .get ();
411411 if (imageDataBase == null ) {
412- Dialogs .showNoImageError ("Auto-alignment" );
412+ Dialogs .showErrorMessage ("Auto-alignment" , "No image selected " );
413413 return ;
414414 }
415415 if (imageDataSelected == null ) {
@@ -454,7 +454,7 @@ public ImageAlignmentPane(final QuPathGUI qupath) {
454454 }
455455 if (otherHierarchy != null ) {
456456 logger .info ("Adding objects!" );
457- otherHierarchy .addPathObjects (newObjects );
457+ otherHierarchy .addObjects (newObjects );
458458 try {
459459 selectedEntry .saveImageData (imageDataSelected );
460460 } catch (IOException e1 ) {
You can’t perform that action at this time.
0 commit comments