Can I get OK event in Settings Page?
Hi,
I extended CodeStyleAbstractPanel, and added some radiobutton.
I want to do something when I click OK button to confirm my choice, if click cancel then do nothing.
I searched the community, it propose the apply() function. But this function called when the radiobutton is clicked, too.
Is there method to get OK event only?
请先登录再写评论。
I figured out a stupid method. I set up a flag in every radio button event handler, and check that flag in apply() function.
If anyone else have other advice, please let me know.