Fix failure to start content server causing the Start content server action to try to stop the server on the next invocation

This commit is contained in:
Kovid Goyal 2017-05-25 20:28:16 +05:30
parent 7bd2c5d9ed
commit 7c3e05313d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -517,6 +517,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
handle_changes(changes, self)
def content_server_start_failed(self, msg):
self.content_server = None
error_dialog(self, _('Failed to start Content server'),
_('Could not start the Content server. Error:\n\n%s')%msg,
show=True)