1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 06:00:41 +00:00

[macOS] Fix Tab selection in InfoWindow on Mojave

Fixes #2599
This commit is contained in:
Dzmitry Neviadomski 2022-04-03 16:41:09 +03:00
parent 1cc9da26ba
commit 7cf920a020

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;