904 |
try: |
try: |
905 |
min, max = table.ValueRange(self.fieldName) |
min, max = table.ValueRange(self.fieldName) |
906 |
self.text_range.SetValue("[" + str(min) + ";" + str(max) + "]") |
self.text_range.SetValue("[" + str(min) + ";" + str(max) + "]") |
907 |
self.OnRangeText(0) |
# This is a workaround, which will result in OnRangeText |
908 |
|
# being called twice on some platforms. |
909 |
|
# Testing showed this is needed with current wx 2.4. versions |
910 |
|
# on MacOSX to guarantee that it is called at all. |
911 |
|
self.OnRangeText(None) |
912 |
finally: |
finally: |
913 |
ThubanEndBusyCursor() |
ThubanEndBusyCursor() |
914 |
|
|