fix: setRepresentedFilename
with non-default titlebarStyle
(#34834)
fix: setRepresentedFilename with non-default titlebarStyle
This commit is contained in:
parent
e83c3ec744
commit
1941c88442
1 changed files with 2 additions and 0 deletions
|
@ -1150,6 +1150,8 @@ double NativeWindowMac::GetOpacity() {
|
||||||
|
|
||||||
void NativeWindowMac::SetRepresentedFilename(const std::string& filename) {
|
void NativeWindowMac::SetRepresentedFilename(const std::string& filename) {
|
||||||
[window_ setRepresentedFilename:base::SysUTF8ToNSString(filename)];
|
[window_ setRepresentedFilename:base::SysUTF8ToNSString(filename)];
|
||||||
|
if (buttons_proxy_)
|
||||||
|
[buttons_proxy_ redraw];
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string NativeWindowMac::GetRepresentedFilename() {
|
std::string NativeWindowMac::GetRepresentedFilename() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue