Project

General

Profile

« Previous | Next » 

Revision 0f199310

Added by Patrick Plitzner over 6 years ago

ref #6595 Fix selection propagation for name editor when entering text

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractGroupedContainerE4.java
554 554
		}
555 555
	}
556 556

  
557
	private boolean isExecuting = false;
558

  
557 559
	protected void setDelayedSelection() {
558 560
		// TODO this might be done better
559 561
		// this is the quickest solution i could come up with and it improves
......
568 570
			@Override
569 571
            public void run() {
570 572
				getEditor().getManagedForm().setInput(selection);
573
				isExecuting = false;
571 574
			}
572 575
		};
573
		display.timerExec(1000, runnable);
576
		if(!isExecuting){
577
		    isExecuting = true;
578
		    display.timerExec(1000, runnable);
579
		}
574 580

  
575 581
	}
576 582

  

Also available in: Unified diff