Skip to content

Commit 4e334f1

Browse files
committed
Fix: source folder view pane not working
1 parent ea42013 commit 4e334f1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clion-plugin/src/main/kotlin/org/utbot/cpp/clion/plugin/settings/UTBotAllProjectSettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class UTBotAllProjectSettings(val project: Project) {
8686
}
8787

8888
companion object {
89-
const val clientVersion = "2022.7"
89+
const val clientVersion = "0.0.1"
9090
const val DEFAULT_HOST = "localhost"
9191
const val DEFAULT_PORT = 2121
9292
}

clion-plugin/src/main/kotlin/org/utbot/cpp/clion/plugin/ui/sourceFoldersView/ProxyProjectViewTree.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import org.utbot.cpp.clion.plugin.settings.settings
88
import java.awt.event.MouseAdapter
99
import java.awt.event.MouseEvent
1010
import javax.swing.tree.DefaultTreeModel
11+
import org.utbot.cpp.clion.plugin.listeners.SourceFoldersListener
1112

1213
open class ProxyProjectViewTree(
1314
treeModel: DefaultTreeModel,
@@ -32,6 +33,7 @@ open class ProxyProjectViewTree(
3233
override fun getCurrentMarkedDirs(): Set<String> = project.settings.storedSettings.sourceDirs
3334
override fun setCurrentMarkedDirs(value: Set<String>) {
3435
project.settings.storedSettings.sourceDirs = value.toMutableSet()
36+
project.messageBus.syncPublisher(SourceFoldersListener.TOPIC).sourceFoldersChanged(value)
3537
}
3638
}
3739

0 commit comments

Comments
 (0)