Skip to content

Commit 4822c79

Browse files
committed
ExportImageToWorkspace.m: better management of dialog
1 parent 21550b2 commit 4822c79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ImageM/+imagem/+actions/+file/ExportImageToWorkspace.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ function run(obj, frame) %#ok<INUSL,INUSD>
3939
title = 'Export Image Data';
4040
lines = 1;
4141
def = {'img'};
42-
answer = inputdlg(prompt, title, lines, def);
42+
options = struct('Resize', 'on');
43+
answer = inputdlg(prompt, title, lines, def, options);
4344

4445
% if user cancels, answer is empty
4546
if isempty(answer)

0 commit comments

Comments
 (0)