Skip to content

Commit

Permalink
Limit trace ID in title to 8 digits
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonSohoel committed Nov 6, 2024
1 parent 9841f42 commit d50c751
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ert/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ def __init__(
self.config_file = config_file
self.log_handler = log_handler

self.setWindowTitle(f"ERT - {config_file} - {find_ert_info()} - {getTraceID()}")
self.setWindowTitle(
f"ERT - {config_file} - {find_ert_info()} - {getTraceID()[:8]}"
)
self.plugin_manager = plugin_manager
self.central_widget = QFrame(self)
self.central_layout = QHBoxLayout(self.central_widget)
Expand Down

0 comments on commit d50c751

Please sign in to comment.