View Single Post
Old 07-10-2018, 06:38 PM   #43
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 493
Karma: 787388
Join Date: May 2013
Location: Philippines
Device: Android S5
@BeckyEBook...

Quote:
I understand everything perfectly.

But ... If I have completed the template field ("Word") AND selected numbered only for "Yes", the plugin should ignore the template.
Because now it requires both – deleting the template and enabling the "numbered heading only" option.

And my suggestion:
Code:
if options.NUM_HEADINGS_CHOICE == 'Yes':
options.SUFFIX_CHOICE = ''
solved it (temporary ignore template for enabled "numbered heading only").
Another gain is that preferences for "add_chapter_template" is not changed.
My apologies to you, you were right. I was able to duplicate the above problem. I'll put out a fix shortly. Thanks again for spotting this problem and providing the fix.

Last edited by slowsmile; 07-10-2018 at 06:40 PM.
slowsmile is offline   Reply With Quote