File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
clion-plugin/src/main/kotlin/org/utbot/cpp/clion/plugin Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class Client(
87
87
}
88
88
}
89
89
90
- private fun configureProject () {
90
+ fun configureProject () {
91
91
CheckProjectConfigurationRequest (
92
92
getProjectConfigGrpcRequest(project, Testgen .ConfigMode .CHECK ),
93
93
project,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import org.utbot.cpp.clion.plugin.ui.wizard.steps.BuildOptionsStep
12
12
import org.utbot.cpp.clion.plugin.ui.wizard.steps.ConnectionStep
13
13
import org.utbot.cpp.clion.plugin.ui.wizard.steps.IntroStep
14
14
import org.utbot.cpp.clion.plugin.ui.wizard.steps.FinalStep
15
+ import org.utbot.cpp.clion.plugin.utils.getCurrentClient
15
16
16
17
class UTBotWizard (private val project : Project ) : AbstractWizard<UTBotBaseWizardStep>(" UTBot: Quickstart" , project) {
17
18
// copy of settings to make changes during wizard steps
@@ -40,6 +41,8 @@ class UTBotWizard(private val project: Project) : AbstractWizard<UTBotBaseWizard
40
41
fireUTBotSettingsChanged()
41
42
}
42
43
44
+ project.getCurrentClient().configureProject()
45
+
43
46
super .doOKAction()
44
47
}
45
48
Original file line number Diff line number Diff line change @@ -78,10 +78,8 @@ class ConnectionStep(
78
78
useConnectionDefaults.addOnChangeListener { newValue ->
79
79
if (newValue) {
80
80
beforeCheckingBoxConnectionInfo = ConnectionInfo ()
81
- println (" remembered before check info: ${beforeCheckingBoxConnectionInfo?.remotePath ? : " " } " )
82
81
defaultConnectionInfo.apply ()
83
82
} else {
84
- println (" Apply before check info: ${beforeCheckingBoxConnectionInfo?.remotePath ? : " empty" } " )
85
83
beforeCheckingBoxConnectionInfo?.apply ()
86
84
}
87
85
}
@@ -108,7 +106,6 @@ class ConnectionStep(
108
106
.bindSelected(getter = { useConnectionDefaults.value }, setter = { newValue ->
109
107
useConnectionDefaults.value = newValue
110
108
}).selected.addListener { newValue ->
111
- println (" New value was set to checkbox: $newValue " )
112
109
useConnectionDefaults.value = newValue
113
110
}
114
111
}
You can’t perform that action at this time.
0 commit comments