Commit b562b731 authored by CALKA Maxime's avatar CALKA Maxime

Correct InteractiveViewer getViewer when the the viewers name don't exist...

Correct InteractiveViewer getViewer when the the viewers name don't exist check until 5 not 6 git add -A!
parent 18b9c234
......@@ -114,7 +114,7 @@ InteractiveViewer* InteractiveViewer::getViewer(QString name) {
i++;
while (i < 6 && !singletonInstance) {
while (i < 5 && !singletonInstance) {
if (name == defaultNames[i]) {
singletonInstance = getNewViewer(defaultNames[i], SLICE_VIEWER);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment