Commit 15b0419cf623ed3b05e4076625ed65885f9c1196
1 parent
2279df97
Exists in
master
and in
54 other branches
Setting threshold limits before setting mask threshold when open a inv proj
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
invesalius/control.py
... | ... | @@ -253,10 +253,11 @@ class Controller(): |
253 | 253 | mask._set_class_index(proj.last_mask_index) |
254 | 254 | self.mask_dict_copy = proj.mask_dict.copy() |
255 | 255 | |
256 | - self.LoadProject() | |
257 | - | |
258 | 256 | Publisher.sendMessage('Update threshold limits list', |
259 | 257 | proj.threshold_range) |
258 | + | |
259 | + self.LoadProject() | |
260 | + | |
260 | 261 | session = ses.Session() |
261 | 262 | session.OpenProject(filepath) |
262 | 263 | Publisher.sendMessage("Enable state project", True) | ... | ... |