diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-10-04 14:29:17 +0200 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-10-04 14:29:17 +0200 |
commit | 55660b91440904d69a030a71de302d910f3f13b2 (patch) | |
tree | b4cec79ff31574b360e892d6c6fca9db6dbf01ca /src/main/resources | |
parent | af40819fcd9720bb68e6271b9ab29c6b6cdbae38 (diff) | |
download | idea_caseconv-55660b91440904d69a030a71de302d910f3f13b2.tar.gz idea_caseconv-55660b91440904d69a030a71de302d910f3f13b2.tar.bz2 idea_caseconv-55660b91440904d69a030a71de302d910f3f13b2.zip |
Fix crashing when an action is performed without a focussed editorv0.7.1
Turns out checking for a focussed editor in update() is not enough, because
you can invoke the action, even if it's marked as inactive. Checking again
in actionPerformed() fixes the issue.
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/META-INF/plugin.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 13e9403..5ce044e 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,7 +1,7 @@ <idea-plugin> <id>me.laria.code.idea_caseconv</id> <name>Case conversion</name> - <version>0.7.0</version> + <version>0.7.1</version> <vendor email="laria@laria.me" url="https://code.laria.me">Laria Chabowski</vendor> <description><![CDATA[<html> @@ -39,6 +39,9 @@ <change-notes><![CDATA[<html> <dl> + <dt>Version 0.7.1</dt> + <dd>Fix crashing when an action is performed without a focussed editor</dd> + <dt>Version 0.7.0</dt> <dd>Add setting for newline mode and fix converting *from* dot.case</dd> |