GP-5797 Corrected CommentsDialog regression. Default to previously used

tab
This commit is contained in:
ghidra1
2025-06-30 14:36:16 -04:00
parent 4629af7235
commit 2727715539

View File

@@ -137,8 +137,7 @@ public class CommentsDialog extends ReusableDialogComponentProvider implements K
void setCommentType(CommentType type) {
if (type == null) {
tab.setSelectedIndex(0);
return;
return; // Leave tab unchanged from last use
}
switch (type) {
case CommentType.EOL: