Skip to content

Commit

Permalink
fix: permently deleting a recording without a title would throw an error
Browse files Browse the repository at this point in the history
  • Loading branch information
lart2150 committed Aug 27, 2023
1 parent 1f72d49 commit 4b0db0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/tivo/kmttg/gui/table/deletedTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,9 @@ public void permanentlyDelete(final String tivoName) {
try {
json = GetRowData(row);
if (json != null) {
String title = json.getString("title");
String title = "";
if (json.has("title"))
title = json.getString("title");
if (json.has("subtitle"))
title += " - " + json.getString("subtitle");
final String title_final = title;
Expand Down

0 comments on commit 4b0db0a

Please sign in to comment.