mailr15726 - /1.3/gui/spin_viewer/tree.py


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

Header


Content

Posted by edward on April 16, 2012 - 15:18:
Author: bugman
Date: Mon Apr 16 15:18:59 2012
New Revision: 15726

URL: http://svn.gna.org/viewcvs/relax?rev=15726&view=rev
Log:
Increased the dialog heights for the deletion of spin data via the spin 
viewer window.


Modified:
    1.3/gui/spin_viewer/tree.py

Modified: 1.3/gui/spin_viewer/tree.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/spin_viewer/tree.py?rev=15726&r1=15725&r2=15726&view=diff
==============================================================================
--- 1.3/gui/spin_viewer/tree.py (original)
+++ 1.3/gui/spin_viewer/tree.py Mon Apr 16 15:18:59 2012
@@ -244,7 +244,7 @@
 
         # Ask if this should be done.
         msg = "Are you sure you would like to delete this molecule?  This 
operation cannot be undone."
-        if status.show_gui and Question(msg, parent=self.gui.spin_viewer, 
default=False).ShowModal() == wx.ID_NO:
+        if status.show_gui and Question(msg, parent=self.gui.spin_viewer, 
default=False, size=(350, 150)).ShowModal() == wx.ID_NO:
             return
 
         # Delete the molecule.
@@ -263,7 +263,7 @@
 
         # Ask if this should be done.
         msg = "Are you sure you would like to delete this residue?  This 
operation cannot be undone."
-        if status.show_gui and Question(msg, parent=self.gui.spin_viewer, 
default=False).ShowModal() == wx.ID_NO:
+        if status.show_gui and Question(msg, parent=self.gui.spin_viewer, 
default=False, size=(350, 150)).ShowModal() == wx.ID_NO:
             return
 
         # Delete the residue.
@@ -282,7 +282,7 @@
 
         # Ask if this should be done.
         msg = "Are you sure you would like to delete this spin?  This 
operation cannot be undone."
-        if status.show_gui and Question(msg, parent=self.gui.spin_viewer, 
default=False).ShowModal() == wx.ID_NO:
+        if status.show_gui and Question(msg, parent=self.gui.spin_viewer, 
default=False, size=(350, 150)).ShowModal() == wx.ID_NO:
             return
 
         # Delete the spin.




Related Messages


Powered by MHonArc, Updated Mon Apr 16 15:40:01 2012