Skip to content

Commit abd02a2

Browse files
committed
Fix #30
1 parent c196142 commit abd02a2

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

Diff for: build.gradle

+9-18
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group 'org.bigtows'
7-
version '2.1'
7+
version '2.1.1'
88

99
sourceCompatibility = 11
1010

@@ -14,14 +14,14 @@ repositories {
1414

1515
dependencies {
1616
compile 'com.evernote:evernote-api:1.25.1'
17-
compileOnly 'org.projectlombok:lombok:1.18.12'
17+
compileOnly 'org.projectlombok:lombok:1.18.20'
1818

1919
testCompile group: 'junit', name: 'junit', version: '4.12'
2020
testCompile 'org.mockito:mockito-core:2.7.22'
2121

22-
annotationProcessor 'org.projectlombok:lombok:1.18.12'
23-
testCompileOnly 'org.projectlombok:lombok:1.18.12'
24-
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12'
22+
annotationProcessor 'org.projectlombok:lombok:1.18.20'
23+
testCompileOnly 'org.projectlombok:lombok:1.18.20'
24+
testAnnotationProcessor 'org.projectlombok:lombok:1.18.20'
2525
}
2626

2727
intellij {
@@ -41,24 +41,15 @@ jar {
4141

4242
patchPluginXml {
4343
changeNotes """
44-
<h1>Release: 2.1</h1><br>
44+
<h1>Release: 2.1.1</h1><br>
4545
<ul>
4646
<li>
47-
New feature: Shortcuts and Drag and Drop mode idea by <a href="https://github.com/BigTows/PinNote/issues/26">#26 By ash0080</a>
48-
<ul>Hey! PinNote now support new shortcuts:
49-
<li>Create a new target, default shortcut: ctrl/⌘ ⇧ T</li>
50-
<li>Create a new root task: Shift + enter</li>
51-
<li>Delete current task: ctrl/⌘ ⇧ ⌫</li>
52-
<li>Select previous task: ↑</li>
53-
<li>Select next task: ↓</li>
54-
</ul>
55-
<ul>
56-
Drag and drop mode here! Now you can reorder your tasks or move to another note
57-
</ul>
47+
New feature: Nope :(
48+
Just fix Exception <a href="https://github.com/BigTows/PinNote/issues/30">Issues ref</a>
5849
</li>
5950
</ul>
6051
"""
6152
//https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html?search=build
62-
sinceBuild "193.2252"
53+
sinceBuild "202.*"
6354
untilBuild "213.*"
6455
}

Diff for: src/main/java/org/bigtows/window/ui/pinnote/action/AddNote.java

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ public void actionPerformed(@Nullable AnActionEvent e) {
7070

7171
@Override
7272
public void update(@NotNull AnActionEvent e) {
73+
if (tabbedPane == null) {
74+
return;
75+
}
7376
var selectedComponent = tabbedPane.getSelectedComponent();
7477
if (selectedComponent instanceof JScrollPane) {
7578
selectedComponent = ((JScrollPane) selectedComponent).getViewport().getView();

0 commit comments

Comments
 (0)