Skip to content
Commit 58907166 authored by David Redondo's avatar David Redondo 🏎
Browse files

Cancel pending resolveChanges dialog when a new one is started

We run a nested event loop while the message dialog is shown and
is waiting for user input. When during this a new request to
open another module happened (via dbus) we would show a second
dialog and run another event loop. After the first dialog was
answered with discard changes, the module was destroyed, so the
second discard answer chrashes trying to reset module which was
no longer around.
Instead prevent this by rejecting the first dialog (effect being
staying on the current module and doing nothing) before showing
the new one. This also ensures that afterwards the correct module
is opened (the one from the second request).
BUG:465510
FIXED-IN:5.27.4
parent 2c656e2c
Pipeline #361887 passed with stage
in 55 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment