impr: Only mark providers dirty when they're not dirty already
This commit is contained in:
parent
60663babc8
commit
0184bf9a7d
@ -337,8 +337,11 @@ namespace hex {
|
||||
}
|
||||
|
||||
void markDirty() {
|
||||
get()->markDirty();
|
||||
EventProviderDirtied::post(get());
|
||||
const auto provider = get();
|
||||
if (!provider->isDirty()) {
|
||||
provider->markDirty();
|
||||
EventProviderDirtied::post(provider);
|
||||
}
|
||||
}
|
||||
|
||||
void resetDirty() {
|
||||
|
Loading…
Reference in New Issue
Block a user