mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[github] Fix inverted action available for GitHub viewed/not viewed (IDEA-346464)
Fixes IDEA-346464 GitOrigin-RevId: 955105fdca88263109331cfc3a4e8c154a6361bd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c61c42bd79
commit
5afb1d7926
+1
-1
@@ -25,7 +25,7 @@ internal abstract class GHPRViewedStateAction(
|
||||
|
||||
if (!vm.isOnLatest) return
|
||||
|
||||
e.presentation.isEnabledAndVisible = vm.isViewedStateForAllChanges(changes, isViewed)
|
||||
e.presentation.isEnabledAndVisible = vm.isViewedStateForAllChanges(changes, !isViewed)
|
||||
}
|
||||
|
||||
override fun actionPerformed(e: AnActionEvent) {
|
||||
|
||||
Reference in New Issue
Block a user