You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.knime.python3.nodes/src/main/java/org/knime/python3/nodes/preferences/PythonExtensionsPreferencePage.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,8 @@ public class PythonExtensionsPreferencePage extends PreferencePage implements IW
106
106
107
107
privateTextm_logTextBox;
108
108
109
+
privateThreadm_downloadThread;
110
+
109
111
/** Constructor */
110
112
publicPythonExtensionsPreferencePage() {
111
113
super("Python-based Extensions");
@@ -144,6 +146,15 @@ protected Control createContents(final Composite parent) {
144
146
returncontents;
145
147
}
146
148
149
+
@Override
150
+
publicbooleanperformCancel() {
151
+
if (m_downloadThread != null) {
152
+
// Interrupt the download. If the download is already finished or interrupted this will have no effect
0 commit comments