| Summary: | Reloading a file and discarding the changes sets the file type icon in the file tab to text file icon | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | alerikaisattera |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | 24.05.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/fe4b2acd694e456005383d3f20f4637067d65989 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
alerikaisattera
2024-06-29 17:48:49 UTC
Hmm, true, that is funny. Git commit fe4b2acd694e456005383d3f20f4637067d65989 by Christoph Cullmann. Committed on 15/09/2024 at 16:32. Pushed by cullmann into branch 'master'. fix mime-type icon after reload just relying on the modified signal is not good enough that fires in a state that the document has no content or url M +3 -0 addons/filetree/katefiletreemodel.cpp M +12 -6 apps/lib/kateviewspace.cpp M +1 -0 apps/lib/kateviewspace.h https://invent.kde.org/utilities/kate/-/commit/fe4b2acd694e456005383d3f20f4637067d65989 Good catch, we just missed to connect to the right signals for that case, was broken in the tab and the document list in the same way. |