We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea6a20c commit 54bec78Copy full SHA for 54bec78
src/messageTab/Info/InfoTable.java
@@ -271,6 +271,12 @@ public List<String> getSelectedUrls() {
271
public String getSelectedContent() {
272
int[] rows = this.getSelectedRows();
273
int[] columns = this.getSelectedColumns();
274
+
275
+ // ⚠️ 有可能在反选瞬间 rows/cols 为空 → 避免返回空内容
276
+ if (rows == null || rows.length == 0 || columns == null || columns.length == 0) {
277
+ return ""; // 或者 return null;
278
+ }
279
280
List<String> result = new ArrayList<>();
281
for (int row : rows) {
282
List<String> line = new ArrayList<>();
0 commit comments