Skip to content
Snippets Groups Projects
Commit b4f7af77 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Volume thresholding: fixed visual bug that would delay the update of the threshold in the bar

parent 3b4cf470
No related branches found
No related tags found
No related merge requests found
......@@ -180,8 +180,8 @@ classdef GtGuiThresholdGrain < GtVolView
function movedSlider(obj)
new_thresh = get(obj.conf.h_thr_slider, 'Value');
set(obj.conf.h_thr_edit, 'String', num2str(obj.threshold));
obj.setThreshold(new_thresh);
set(obj.conf.h_thr_edit, 'String', num2str(new_thresh));
obj.updateDisplay();
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment