Make batch copy copy IDs instead of Refs

This commit is contained in:
heliguy
2023-08-31 23:13:41 -04:00
parent 0f27f861a9
commit a036c00ea4
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ template FlattoolGuiWindow : Adw.ApplicationWindow {
Button batch_copy_button {
icon-name: "edit-copy-symbolic";
label: _("Copy");
tooltip-text: _("Copy Selected Flatpaks' Ref Seperated by a New Line");
tooltip-text: _("Copy Selected Flatpaks' IDs Seperated by a New Line");
}
}
}

View File

@@ -563,7 +563,7 @@ class FlattoolGuiWindow(Adw.ApplicationWindow):
to_copy = ""
for i in range(len(self.selected_host_flatpak_indexes)):
host_flatpak_index = self.selected_host_flatpak_indexes[i]
to_copy += f"{(self.host_flatpaks[host_flatpak_index][8])}\n"
to_copy += f"{(self.host_flatpaks[host_flatpak_index][2])}\n"
print(to_copy)
self.clipboard.set(to_copy)