Check preferences page ok and cancel action

In preferences page user either clicks ok or Cancel button apply() is called. Can we check if action is ok or Cancel inside apply() function ?

0

If user click 'Cancel' button 'apply' method shouldn't be called. Could you please a stacktrace for this case?

0

请先登录再写评论。