mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git-branches-dashboard: fix possible KNPE (EA-220049)
GitOrigin-RevId: 13c46ad52ea1272520cd79563d6bee0cb0e7038a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1e64e9d4be
commit
7f45ef09fb
@@ -249,7 +249,7 @@ internal object BranchesDashboardActions {
|
||||
text = "Fetch All Remotes"
|
||||
icon = AllIcons.Actions.Refresh
|
||||
description = ""
|
||||
val project = e.project!!
|
||||
val project = e.project ?: return@with
|
||||
if (GitFetchSupport.fetchSupport(project).isFetchRunning) {
|
||||
isEnabled = false
|
||||
description = "Fetch in progress..."
|
||||
|
||||
Reference in New Issue
Block a user