mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-23 23:09:42 +00:00
Fix panic caused by reusing the same handler for diagnostic status
This commit is contained in:
parent
17b13b9362
commit
56e4591d6f
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ impl View for DiagnosticSummary {
|
|||
let theme = &self.settings.borrow().theme.project_diagnostics;
|
||||
|
||||
let in_progress = self.in_progress;
|
||||
MouseEventHandler::new::<Tag, _, _, _>(0, cx, |_, _| {
|
||||
MouseEventHandler::new::<Tag, _, _, _>(cx.view_id(), cx, |_, _| {
|
||||
if in_progress {
|
||||
Label::new(
|
||||
"Checking... ".to_string(),
|
||||
|
|
Loading…
Reference in a new issue