fix: documentEdited with non-default titlebarStyle (#30565)
This commit is contained in:
parent
e92d92d7eb
commit
ec13a0b0e6
1 changed files with 2 additions and 0 deletions
|
@ -1117,6 +1117,8 @@ std::string NativeWindowMac::GetRepresentedFilename() {
|
||||||
|
|
||||||
void NativeWindowMac::SetDocumentEdited(bool edited) {
|
void NativeWindowMac::SetDocumentEdited(bool edited) {
|
||||||
[window_ setDocumentEdited:edited];
|
[window_ setDocumentEdited:edited];
|
||||||
|
if (buttons_proxy_)
|
||||||
|
[buttons_proxy_ redraw];
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NativeWindowMac::IsDocumentEdited() {
|
bool NativeWindowMac::IsDocumentEdited() {
|
||||||
|
|
Loading…
Reference in a new issue