mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[macos] for bug 67689
This commit is contained in:
@ -982,6 +982,13 @@
|
||||
[self.tabsControl selectNextTab];
|
||||
}
|
||||
}
|
||||
} else if ( keyCode == 87 ) { // W
|
||||
if ( pData->get_IsCommandMac() ) {
|
||||
ASCTabView * tab = [self.tabsControl selectedTab];
|
||||
if ( tab and [self tabs:self.tabsControl willRemovedTab:tab] ) {
|
||||
[self.tabsControl removeTab:tab];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user