mailr14686 - /1.3/gui/controller.py


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

Header


Content

Posted by edward on September 19, 2011 - 11:20:
Author: bugman
Date: Mon Sep 19 11:20:43 2011
New Revision: 14686

URL: http://svn.gna.org/viewcvs/relax?rev=14686&view=rev
Log:
Improvements to the showing of the relax controller on errors and warnings.

The Show() call is no longer made if already shown, and if not shown, the 
LogCtrl is scrolled to the
position of the error message.


Modified:
    1.3/gui/controller.py

Modified: 1.3/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/controller.py?rev=14686&r1=14685&r2=14686&view=diff
==============================================================================
--- 1.3/gui/controller.py (original)
+++ 1.3/gui/controller.py Mon Sep 19 11:20:43 2011
@@ -958,12 +958,13 @@
             if stream_list[i] in [1, 3] and status.show_gui:
                 # Bring the window to the front.
                 if self.controller.IsShown():
-                    self.controller.Show()
                     self.controller.Raise()
 
                 # Open the window.
                 else:
+                    # Show the window, then go to the message.
                     self.controller.Show()
+                    self.GotoPos(self.GetLength())
 
         # Limit the scroll back.
         self.limit_scrollback()




Related Messages


Powered by MHonArc, Updated Mon Sep 19 11:40:02 2011