~raoul-snyman/openlp/better-threading

« back to all changes in this revision

Viewing changes to openlp/core/ui/mainwindow.py

  • Committer: Raoul Snyman
  • Date: 2018-01-07 17:50:29 UTC
  • Revision ID: raoul@snyman.info-20180107175029-0xrbzkf867pg70tg
Fix some issues highlighted by Tim and Phill, and added a file that was erroneously removed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1073
1073
 
1074
1074
        :param save_settings: Switch to prevent saving settings. Defaults to **True**.
1075
1075
        """
1076
 
        self.image_manager.stop_manager = True
1077
 
        # while self.image_manager.image_thread.isRunning():
1078
 
        #     time.sleep(0.1)
1079
1076
        if save_settings:
1080
1077
            if Settings().value('advanced/save current plugin'):
1081
1078
                Settings().setValue('advanced/current media plugin', self.media_tool_box.currentIndex())