[macos] for bug 67689

This commit is contained in:
maxkadushkin
2024-09-06 15:49:39 +03:00
parent a2c0847b81
commit 70c627a42d

View File

@ -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];
}
}
}
}
}