diff --git a/src/main/kotlin/com/tyro/oss/pairing/toolwindow/PairingToolWindow.kt b/src/main/kotlin/com/tyro/oss/pairing/toolwindow/PairingToolWindow.kt index 625e34a..d9bb544 100644 --- a/src/main/kotlin/com/tyro/oss/pairing/toolwindow/PairingToolWindow.kt +++ b/src/main/kotlin/com/tyro/oss/pairing/toolwindow/PairingToolWindow.kt @@ -98,7 +98,6 @@ class PairingToolWindow { } } - private fun defaultTextFieldWithHistory(vararg historyItems: String, callback: ((text: String) -> Unit)?) = TextFieldWithHistory().apply { history = historyItems.asList() diff --git a/src/main/kotlin/com/tyro/oss/pairing/toolwindow/SyncAllFileChangesButton.kt b/src/main/kotlin/com/tyro/oss/pairing/toolwindow/SyncAllFileChangesButton.kt index b9e7d65..c04a66a 100644 --- a/src/main/kotlin/com/tyro/oss/pairing/toolwindow/SyncAllFileChangesButton.kt +++ b/src/main/kotlin/com/tyro/oss/pairing/toolwindow/SyncAllFileChangesButton.kt @@ -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) {