diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-19 09:04:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-19 14:45:19 +0100 |
commit | 8ed356fb69e024218538c4818ea6ad46799b2c68 (patch) | |
tree | 0eee31d0ff5ce77b43c030b7c31079eae5a1ccba /uui | |
parent | 60f1490af9b29ac2df8e9e9411e9d41b472f9113 (diff) |
reserve negative responses for internal responses
Change-Id: Iecf7d25340ff751c2984e27fdd303d2162472344
Reviewed-on: https://gerrit.libreoffice.org/49971
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/sslwarndlg.cxx | 2 | ||||
-rw-r--r-- | uui/uiconfig/ui/sslwarndialog.ui | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/sslwarndlg.cxx b/uui/source/sslwarndlg.cxx index b85e376ff291..f88284a70610 100644 --- a/uui/source/sslwarndlg.cxx +++ b/uui/source/sslwarndlg.cxx @@ -50,7 +50,7 @@ void SSLWarnDialog::response(short nResponseId) { switch (nResponseId) { - case -1: + case 101: ViewCert(); break; default: diff --git a/uui/uiconfig/ui/sslwarndialog.ui b/uui/uiconfig/ui/sslwarndialog.ui index e93112399ac0..2a3d857816a3 100644 --- a/uui/uiconfig/ui/sslwarndialog.ui +++ b/uui/uiconfig/ui/sslwarndialog.ui @@ -75,7 +75,7 @@ <action-widgets> <action-widget response="1">ok</action-widget> <action-widget response="0">cancel</action-widget> - <action-widget response="-1">view</action-widget> + <action-widget response="101">view</action-widget> </action-widgets> </object> </interface> |