Review: Needs Fixing
I'm not sure I like the way you're doing that. What's the "self.new" for? It 
doesn't make sense according to the bug you're trying to solve.

I've just had a look at the code, and there are 2 places a song is edited, and 
one place where a new song is created. The "Edit item" from the Service Manager 
calls "onRemoteEdit" in the plugin. Simply implement your code in the "onNew" 
and "onEdit" as opposed to in the dialog itself (which is the wrong place to do 
it anyways).
-- 
https://code.launchpad.net/~smpettit/openlp/bug-789102/+merge/62793
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to