Skip to content
Snippets Groups Projects

New explore

Merged Stian Fjæran Mogen requested to merge new_explore into dev
All threads resolved!
1 file
+ 1
6
Compare changes
  • Side-by-side
  • Inline
@@ -169,15 +169,10 @@ public class Explore implements Initializable {
* @throws IOException
*/
public void switchToPicture(MouseEvent mouseEvent) throws IOException {
boolean imageIdFound = false;
long imageId = 0;
Node node = (Node) mouseEvent.getSource();
while (!imageIdFound){
if (node.getId() != null){
if (node.getId() != null){
imageId = Long.parseLong(node.getId());
imageIdFound = true;
}
node = node.getParent();
}
if (imageId != 0) {
Loading