Author: bugman
Date: Tue Sep  2 15:51:13 2014
New Revision: 25554

URL: http://svn.gna.org/viewcvs/relax?rev=25554&view=rev
Log:
Improvements for the spectrum.error_analysis button in the spectrum list GUI 
element.

The user function is now launched as being modal so that the rest of the GUI 
freezes, and after the
user function is executed the relax controller window is show and scrolled to 
the bottom.


Modified:
    trunk/gui/components/spectrum.py

Modified: trunk/gui/components/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/components/spectrum.py?rev=25554&r1=25553&r2=25554&view=diff
==============================================================================
--- trunk/gui/components/spectrum.py    (original)
+++ trunk/gui/components/spectrum.py    Tue Sep  2 15:51:13 2014
@@ -352,7 +352,11 @@
             item = self.element.GetNextSelected(item)
 
         # Launch the dialog.
-        uf_store['spectrum.error_analysis'](subset=ids)
+        uf_store['spectrum.error_analysis'](subset=ids, wx_wizard_modal=True)
+
+        # Display the relax controller, and go to the end of the log window.
+        self.gui.show_controller(None)
+        self.gui.controller.log_panel.on_goto_end(None)
 
 
     def action_spectrum_integration_points(self, event):


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to