arjeneh / jpowder

Automatically exported from code.google.com/p/jpowder
1 stars 0 forks source link

Wavelength fails to register when transforming two-theta to d-spacing #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Load up a data set that displays two-theta on the x-axis
2.Got to tools, transform x-axis
3.Enter a value for wavelength in the input box and press Apply.  

What is the expected output? What do you see instead?

Should transform the x-axis to d-spacing.  Instead, an information box pops up 
saying "Please enter value for wavelength".  The value you entered has clearly 
not been registered with the program at this point

Fix: By pressing the 'Enter' key on the keyboard whilst the focus is still in 
the input field, the input value of wavelength is then registered and the 
transformation works as requested.

Q: Is this expected behaviour?  It is a bit counter-intuitive !

What is the Jpowder build date (go to Help->About in Jpowder and copy and
paste Build string)?

1.0 201006281820

Please provide any additional information below.

Original issue reported on code.google.com by kenneths...@gmail.com on 11 Oct 2010 at 8:33

GoogleCodeExporter commented 9 years ago
I have added a method that solves the problem.

Original comment by arje...@gmail.com on 12 Nov 2010 at 1:37