Skip to content

Commit

Permalink
fix(gui): prevent progress bar from resetting after user input #51
Browse files Browse the repository at this point in the history
Previously, the progress bar was resetting after each user input, which was confusing and unnecessary. This commit addresses this issue by removing the hard-coded value in the progress bar constructor and instead using a default constructor, which does not reset the progress bar. This change ensures that the progress bar maintains its current value after each user action, providing a more intuitive and consistent user experience.
  • Loading branch information
phodal committed Mar 5, 2024
1 parent 4a0a7a4 commit 4dbf66d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ class ChatCodingPanel(private val chatCodingService: ChatCodingService, val disp
myScrollPane.verticalScrollBar.autoscrolls = true
myScrollPane.background = UIUtil.getListBackground()

progressBar = JProgressBar(2)
progressBar = JProgressBar()

val actionLink = ActionLink(AutoDevBundle.message("label.submit.issue")) {
BrowserUtil.browse(AutoDevBundle.message("chat.panel.submit.issue.url"))
Expand Down

0 comments on commit 4dbf66d

Please sign in to comment.