Skip to content
Snippets Groups Projects
Commit 94ea3865 authored by George Nachman's avatar George Nachman
Browse files

Change setBroadcastMode to toggle instead of set.

parent e305c166
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3074,6 +3074,9 @@ NSString *sessionsKey = @"sessions";
 
- (void)setBroadcastMode:(BroadcastMode)mode
{
if (mode != BROADCAST_CUSTOM && mode == broadcastMode_) {
mode = BROADCAST_OFF;
}
if (mode != BROADCAST_OFF && broadcastMode_ == BROADCAST_OFF) {
if (NSRunAlertPanel(@"Warning!",
@"Keyboard input will be sent to multiple sessions.",
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment