mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ui: avoid potentially showing 'Set Custom Project Icon' in confusing contexts
Do not rely on 'Project' missing in the DataContext of a 'Manage Projects' popup. GitOrigin-RevId: 6d1626afea4cc488df6477ba5ea300cdb6485c44
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dedef74304
commit
d7622fcd9d
+1
-1
@@ -102,7 +102,7 @@ internal class ChangeProjectIconAction : RecentProjectsWelcomeScreenActionBase()
|
||||
if (selectedItem is RecentProjectItem) {
|
||||
return selectedItem.projectPath
|
||||
}
|
||||
if (project != null) {
|
||||
if (project != null && selectedItem == null) {
|
||||
return ProjectWindowCustomizerService.projectPath(project)
|
||||
}
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user