mailr25554 - /trunk/gui/components/spectrum.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 02, 2014 - 15:51:
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):




Related Messages


Powered by MHonArc, Updated Tue Sep 02 16:00:03 2014