1
0
mirror of synced 2024-11-24 15:50:16 +01:00
ImHex/plugins
SparkyTD adbcc48de7
fix: Multiple file reload popups stacking on top of each other (#1654)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
This PR aims to address #1645 that caused the built in file provider's
change monitor to trigger the notification popup dialog multiple times
in a row after multiple external file changes.

### Implementation description
I added an additional boolean field
`m_changeEventAcknowledgementPending` that tracks whether there are any
pending or unacknowledged change notification dialogs to prevent further
dialogs from being opened. The flag is only reset to its initial value
once the user has acknowledged the first `PopupQuestion` dialog.

Since the file is reloaded only after the user clicks 'Yes', it is
unnecessary to ensure that only the latest popup is acknowledged.
2024-05-07 23:43:20 +02:00
..
builtin fix: Multiple file reload popups stacking on top of each other (#1654) 2024-05-07 23:43:20 +02:00
decompress fix: Decompress functions not extracting full data 2024-03-22 17:34:49 +01:00
diffing lang: Refactored langtool, updated chinese translation (#1623) 2024-05-01 20:49:55 +02:00
disassembler lang: Refactored langtool, updated chinese translation (#1623) 2024-05-01 20:49:55 +02:00
fonts fix: Icons not being fractionally scaled anymore 2024-03-28 22:15:30 +01:00
hashes lang: Refactored langtool, updated chinese translation (#1623) 2024-05-01 20:49:55 +02:00
script_loader lang: Refactored langtool, updated chinese translation (#1623) 2024-05-01 20:49:55 +02:00
ui fix: Pattern data view rendering of bitfields within bitfields being broken 2024-05-07 23:32:51 +02:00
visualizers lang: Refactored langtool, updated chinese translation (#1623) 2024-05-01 20:49:55 +02:00
windows impr: Make right click menus open faster 2024-05-01 20:50:35 +02:00
yara_rules lang: Refactored langtool, updated chinese translation (#1623) 2024-05-01 20:49:55 +02:00