Skip to content

Commit

Permalink
Modify Current Image Label to Display Time Stamp as Well as Image Fil…
Browse files Browse the repository at this point in the history
…ename
  • Loading branch information
JackEAllen committed Jul 11, 2024
1 parent 89ae430 commit 33b46d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mantidimaging/gui/windows/live_viewer/presenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def select_image(self, index: int) -> None:
if not self.model.images:
return
self.selected_image = self.model.images[index]
self.view.label_active_filename.setText(self.selected_image.image_name)
image_timestamp = self.selected_image.image_modified_time_stamp
self.view.label_active_filename.setText(f"{self.selected_image.image_name} - {image_timestamp}")

self.display_image(self.selected_image.image_path)

Expand Down

0 comments on commit 33b46d2

Please sign in to comment.