mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-23 16:12:47 +02:00
Fixes bug #2004. Refactored the communication between the speaker notes window and the regular window by using a Broadcast channel - this is now self-recovering(!) even if speaker notes are closed and manually re-opened! For better readability and maintainability refactored some string-based states into enum style code and refactored detection of the type of windows (print, speaker note, regular window) Manually tested the new code and the speaker notes window does not disconnect from the regular window anymore. This now works way more reliable, even if there are (still) some UI glitches that have been there before already.