Fixed incomplete task grid update on interface change, in Resource editor
authorEdouard Tisserant
Wed, 25 Jun 2014 17:28:26 +0200
changeset 1422 458d93275f71
parent 1421 0e1a6fcf4670
child 1423 4e33f644f7cf
Fixed incomplete task grid update on interface change, in Resource editor
controls/VariablePanel.py
--- a/controls/VariablePanel.py	Mon Jun 23 10:57:02 2014 +0200
+++ b/controls/VariablePanel.py	Wed Jun 25 17:28:26 2014 +0200
@@ -577,6 +577,8 @@
                 self.Values.append(row_content)
                 new_row = self.Table.GetNumberRows()
             self.SaveValues()
+            if self.ElementType == "resource":
+                self.ParentWindow.RefreshView(variablepanel = False)
             self.RefreshValues()
             return new_row
         setattr(self.VariablesGrid, "_AddRow", _AddVariable)