mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-10 06:27:59 -05:00
GP-5797 Corrected CommentsDialog regression. Default to previously used
tab
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user