Project

General

Profile

« Previous | Next » 

Revision 9af93aa7

Added by Andreas Müller over 6 years ago

ref #6595 fix never ending details view rendering

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractGroupedContainerE4.java
509 509
			        return;
510 510
			    }
511 511

  
512
				for (AbstractGroupedContainerE4 container : getEditor()
512
				for (AbstractGroupedContainerE4<?> container : getEditor()
513 513
						.getGroupedContainers()) {
514 514
					container.colorSelected(NOT_SELECTED);
515 515
				}
......
596 596
                    // my code goes here
597 597
                    Thread.sleep(1000);
598 598
                    if(!stop){
599
                        display.syncExec(new Runnable() {
600
                            @Override
601
                            public void run() {
599
                        display.syncExec(() -> {
602 600
                                getEditor().getManagedForm().setInput(selection);
603
                            }
604 601
                        });
602
                        stop = true;
605 603
                    }
606 604
                } catch (InterruptedException ex) {
607 605
                    stop = true;

Also available in: Unified diff