Fix editor tests after changing the semantics of is_dirty
This commit is contained in:
parent
052222c91c
commit
5654684d30
3 changed files with 28 additions and 8 deletions
|
@ -568,7 +568,10 @@ impl workspace::Item for ProjectDiagnosticsEditor {
|
|||
}
|
||||
|
||||
fn should_update_tab_on_event(event: &Event) -> bool {
|
||||
matches!(event, Event::Saved | Event::Dirtied | Event::TitleChanged)
|
||||
matches!(
|
||||
event,
|
||||
Event::Saved | Event::DirtyChanged | Event::TitleChanged
|
||||
)
|
||||
}
|
||||
|
||||
fn set_nav_history(&mut self, nav_history: ItemNavHistory, cx: &mut ViewContext<Self>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue