Merge pull request #2870 from nevack/nevack/mojave-infowindow-fix

[macOS] Fix Tab selection in InfoWindow on Mojave
This commit is contained in:
Mitch Livingston 2022-04-03 14:40:59 -04:00 committed by GitHub
commit d948e49da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ typedef NS_ENUM(unsigned int, tabTag) {
- (void)setTab:(id)sender
{
NSInteger const oldTabTag = self.fCurrentTabTag;
self.fCurrentTabTag = self.fTabs.selectedTag;
self.fCurrentTabTag = self.fTabs.selectedSegment;
if (self.fCurrentTabTag == oldTabTag)
{
return;