Commit 63222ad
feat: show unsaved-changes indicator (*) in the window title (#9987)
Prepend "* " to the project title while the project has unsaved changes, on all
platforms: the custom topbar and window/taskbar title on Windows, and the native
window title on macOS/Linux (all already show the project name via
Plater::priv::set_project_name). The existing idle handler keeps it in sync as the
dirty state changes; a cached last-applied title avoids redundant title updates.
Closes #99871 parent 045e0a6 commit 63222ad
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
808 | 811 | | |
809 | 812 | | |
810 | 813 | | |
| |||
1154 | 1157 | | |
1155 | 1158 | | |
1156 | 1159 | | |
1157 | | - | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1158 | 1183 | | |
1159 | 1184 | | |
1160 | 1185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments