Skip to content

Commit

Permalink
[fix] gui: improve tooltip about Streakcam MCPGain
Browse files Browse the repository at this point in the history
The MCPGain has a special behaviour: for detector safety, it can only
be increased while the stream is playing (although it can be decreased at any time).
=> Warn about this behaviour in the tooltip, to avoid the chances the
user thinks it's a bug.
  • Loading branch information
pieleric committed Dec 17, 2024
1 parent dd5d4cf commit 586f5f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/odemis/gui/conf/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,9 @@
("MCPGain", {
"control_type": odemis.gui.CONTROL_INT,
"label": "MCP gain",
"tooltip": u"Microchannel plate gain of the streak unit.\n"
u"Be careful when setting the gain while operating the camera in focus-mode.",
"tooltip": "Microchannel plate gain of the streak unit.\n"
"Be careful when setting the gain while operating the camera in focus-mode.\n"
"Only increase the gain while the stream is playing.",
"key_step": 1,
}),
("shutter", {
Expand Down

0 comments on commit 586f5f4

Please sign in to comment.