Skip to content

Commit 392245d

Browse files
skurfertiennou
authored andcommitted
rewire mapping between Notification Center and QS responses
1 parent 1eb1df4 commit 392245d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Quicksilver/Code-QuickStepCore/QSAlertManager.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,13 @@ - (void)userNotificationCenter:(NSUserNotificationCenter *)center didActivateNot
171171
break;
172172

173173
case NSUserNotificationActivationTypeActionButtonClicked:
174-
response = QSAlertResponseSecond;
174+
response = QSAlertResponseOK;
175175
break;
176176

177+
case NSUserNotificationActivationTypeAdditionalActionClicked:
178+
response = QSAlertResponseCancel;
179+
break;
180+
177181
default:
178182
break;
179183
}

0 commit comments

Comments
 (0)