Skip to content

Commit e0ddfa1

Browse files
committed
fix bug in renaming table
1 parent 285711f commit e0ddfa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ImageM/+imagem/+actions/+table/+edit/RenameTable.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ function run(obj, frame) %#ok<INUSL>
5555
updateTitle(frame);
5656

5757
% add history
58-
string = sprintf('%s.Name = ''%s'');\n', ...
59-
doc.Tag, newName);
58+
string = sprintf('%s.Name = ''%s'';\n', ...
59+
frame.Doc.Tag, newName);
6060
addToHistory(frame, string);
6161

6262
end

0 commit comments

Comments
 (0)