Skip to content

Commit dbefa1b

Browse files
authored
Merge pull request #18 from adrienpessu/fix_issues3
fix warning
2 parents a2aa5f2 + 2f08279 commit dbefa1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ class SarifViewerWindowFactory : ToolWindowFactory {
205205
jToolBar.alignmentX = Component.LEFT_ALIGNMENT
206206
jToolBar.add(refreshButton)
207207

208-
jToolBar.add(selectList)
209208
selectList.addActionListener { event ->
210209
val comboBox = event.source as JComboBox<*>
211210
if (event.actionCommand == "comboBoxChanged" && comboBox.selectedItem != null) {
@@ -227,6 +226,8 @@ class SarifViewerWindowFactory : ToolWindowFactory {
227226
}
228227
}
229228

229+
jToolBar.add(selectList)
230+
230231
add(jToolBar)
231232

232233
add(splitPane)

0 commit comments

Comments
 (0)