This logic doesn't really belong in ContentManager. It would be better to trigger an event, which is handled somewhere else. But there's no obvious place to put this event, so creating the error dialog inside the new_notebook method is ok for now.
parent
5717a3eb10
commit
d17ca85f5b
Loading…
Reference in new issue