projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic data save when changing wizard page
[bertos.git]
/
wizard
/
BModulePage.py
diff --git
a/wizard/BModulePage.py
b/wizard/BModulePage.py
index 7fca118bb465e4f1a72b21c163f1d7800f22edbb..19d0c3a50862715d2c608330f9b2cc3571f6d134 100644
(file)
--- a/
wizard/BModulePage.py
+++ b/
wizard/BModulePage.py
@@
-100,7
+100,7
@@
class BModulePage(BWizardPage):
spinBox.setSuffix("L")
spinBox.setValue(int(configurations[property]["value"].replace("L", "")))
spinBox.setSuffix("L")
spinBox.setValue(int(configurations[property]["value"].replace("L", "")))
- def _save
Page
(self, previousRow, previousColumn):
+ def _save
Data
(self, previousRow, previousColumn):
module = self._module(previousRow)
moduleConfigurations = self._configurations(module)
for index in range(self.pageContent.propertyTable.rowCount()):
module = self._module(previousRow)
moduleConfigurations = self._configurations(module)
for index in range(self.pageContent.propertyTable.rowCount()):
@@
-117,7
+117,7
@@
class BModulePage(BWizardPage):
def _pageChanged(self, row, column, previousRow, previousColumn):
if previousRow != -1 and previousColumn != -1:
def _pageChanged(self, row, column, previousRow, previousColumn):
if previousRow != -1 and previousColumn != -1:
- self._save
Page
(previousRow, previousColumn)
+ self._save
Data
(previousRow, previousColumn)
self._fillPropertyTable()
def _currentModule(self):
self._fillPropertyTable()
def _currentModule(self):