Commit 4f35d10179254351b572e0843c11f28a51d718bb
1 parent
dda18929
Exists in
master
and in
68 other branches
FIX: reverted the control a previous version
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
invesalius/control.py
| ... | ... | @@ -324,13 +324,6 @@ class Controller(): |
| 324 | 324 | const.WINDOW_LEVEL[_('Default')] = (proj.window, proj.level) |
| 325 | 325 | const.WINDOW_LEVEL[_('Manual')] = (proj.window, proj.level) |
| 326 | 326 | |
| 327 | - | |
| 328 | - ps.Publisher().sendMessage('Set project name', proj.name) | |
| 329 | - ps.Publisher().sendMessage('Load surface dict', | |
| 330 | - proj.surface_dict) | |
| 331 | - self.LoadImagedataInfo() # TODO: where do we insert this <<<? | |
| 332 | - ps.Publisher().sendMessage('Show content panel') | |
| 333 | - ps.Publisher().sendMessage('Update AUI') | |
| 334 | 327 | ps.Publisher().sendMessage('Load slice to viewer', |
| 335 | 328 | (proj.imagedata, |
| 336 | 329 | proj.mask_dict)) |
| ... | ... | @@ -340,6 +333,13 @@ class Controller(): |
| 340 | 333 | ps.Publisher().sendMessage('Update window level value',\ |
| 341 | 334 | (proj.window, proj.level)) |
| 342 | 335 | |
| 336 | + ps.Publisher().sendMessage('Set project name', proj.name) | |
| 337 | + ps.Publisher().sendMessage('Load surface dict', | |
| 338 | + proj.surface_dict) | |
| 339 | + self.LoadImagedataInfo() # TODO: where do we insert this <<<? | |
| 340 | + ps.Publisher().sendMessage('Show content panel') | |
| 341 | + ps.Publisher().sendMessage('Update AUI') | |
| 342 | + | |
| 343 | 343 | if len(proj.mask_dict): |
| 344 | 344 | mask_index = len(proj.mask_dict) -1 |
| 345 | 345 | ps.Publisher().sendMessage('Show mask', (mask_index, True)) | ... | ... |