radmedres / clmedview

An attempt to create a cross-platform medical image viewer specialized in drawing "regions of interests".
GNU General Public License v3.0
3 stars 2 forks source link

BUGS: Application crash when hittin reset or opening another study. #15

Closed minovations closed 9 years ago

minovations commented 9 years ago

BUGS: After opening a new study, or pressing the reset function, clmedview crashes. It seems that clearing the viewports, causes a instable setup where signals are connected to "ghost" actors.

MPR function (under keys) is not working correctly. Function is disabled for current release.

(QUICK and DIRTY) FIX: If the actors are initialised, leave them and do not clear them. The reset function should only reset all settings to initial values. After loading a new study, all viewports are initialised with values from the new study.

Changes: include/lib-viewer.h

lib/lib-viewer/lib-viewer.c

source/gui/mainwindow.c