fix: documentEdited with non-default titlebarStyle (#30565)

This commit is contained in:
Shelley Vohr 2021-08-18 21:09:57 +02:00 committed by GitHub
parent e92d92d7eb
commit ec13a0b0e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1117,6 +1117,8 @@ std::string NativeWindowMac::GetRepresentedFilename() {
void NativeWindowMac::SetDocumentEdited(bool edited) {
[window_ setDocumentEdited:edited];
if (buttons_proxy_)
[buttons_proxy_ redraw];
}
bool NativeWindowMac::IsDocumentEdited() {