Skip to content

Commit

Permalink
Fix push all changes button not being called properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
aconstanti authored and steveorourke committed Dec 16, 2021
1 parent 676d6c9 commit ea95cc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ class PairingToolWindow {
}
}


private fun defaultTextFieldWithHistory(vararg historyItems: String, callback: ((text: String) -> Unit)?) =
TextFieldWithHistory().apply {
history = historyItems.asList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class SyncAllFileChangesButton : AnActionButton(ICON_TEXT, ICON) {

override fun actionPerformed(e: AnActionEvent) {
ActionManager.getInstance()
.getActionOrStub(SyncLocalChanges.PUSH_LOCAL_CHANGES_ID)?.actionPerformed(e)
.getAction(SyncLocalChanges.PUSH_LOCAL_CHANGES_ID)?.actionPerformed(e)
}

override fun updateButton(e: AnActionEvent) {
Expand Down

0 comments on commit ea95cc0

Please sign in to comment.