From 243e94e740f851e1c25d112b9980f07c70353747 Mon Sep 17 00:00:00 2001 From: Chris PeBenito <cpebenito@tresys.com> Date: Wed, 13 Apr 2016 13:05:22 -0400 Subject: [PATCH] apol: InfoFlow/DTA tabs: remove cancel button from busy dialog. Prevention/work-around for #119. --- setoolsgui/apol/dta.py | 2 +- setoolsgui/apol/infoflow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setoolsgui/apol/dta.py b/setoolsgui/apol/dta.py index 91eac56..2cd7a77 100644 --- a/setoolsgui/apol/dta.py +++ b/setoolsgui/apol/dta.py @@ -81,7 +81,7 @@ class DomainTransitionAnalysisTab(SEToolsWidget, QScrollArea): self.busy.setModal(True) self.busy.setRange(0, 0) self.busy.setMinimumDuration(0) - self.busy.canceled.connect(self.thread.requestInterruption) + self.busy.setCancelButton(None) self.busy.reset() # update busy dialog from DTA INFO logs diff --git a/setoolsgui/apol/infoflow.py b/setoolsgui/apol/infoflow.py index 96418b7..5f3b4d4 100644 --- a/setoolsgui/apol/infoflow.py +++ b/setoolsgui/apol/infoflow.py @@ -113,7 +113,7 @@ class InfoFlowAnalysisTab(SEToolsWidget, QScrollArea): self.busy.setModal(True) self.busy.setRange(0, 0) self.busy.setMinimumDuration(0) - self.busy.canceled.connect(self.thread.requestInterruption) + self.busy.setCancelButton(None) self.busy.reset() # update busy dialog from infoflow INFO logs