Skip to content

Commit

Permalink
Fix BGMOutputVolumeMenuItem tooltip not always being updated.
Browse files Browse the repository at this point in the history
When you changed to an output device with no data sources, the tooltip
was left set to the name of the previous output device.
  • Loading branch information
kyleneideck committed Oct 6, 2018
1 parent 797d2f1 commit 94a5f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BGMApp/BGMApp/BGMOutputVolumeMenuItem.mm
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ - (void) updateLabelAndToolTip {
self.toolTip = (__bridge_transfer NSString*)outputDevice.CopyName();
} else {
deviceLabel.stringValue = (__bridge_transfer NSString*)outputDevice.CopyName();
self.toolTip = nil;
}
} catch (const CAException& e) {
BGMLogException(e);
Expand Down

0 comments on commit 94a5f37

Please sign in to comment.