mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-16 12:49:59 +01:00
BugFix Close NewSource panel on exit
Ensures source preview is deleted, avoids crash.
This commit is contained in:
@@ -789,8 +789,9 @@ bool UserInterface::TryClose()
|
|||||||
if (DialogToolkit::FileDialog::busy() || DialogToolkit::ColorPickerDialog::busy())
|
if (DialogToolkit::FileDialog::busy() || DialogToolkit::ColorPickerDialog::busy())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// always stop all recordings
|
// always stop all recordings and pending actions
|
||||||
FrameGrabbing::manager().stopAll();
|
FrameGrabbing::manager().stopAll();
|
||||||
|
navigator.discardPannel();
|
||||||
|
|
||||||
// force close if trying to close again although it is already pending for save
|
// force close if trying to close again although it is already pending for save
|
||||||
if (pending_save_on_exit)
|
if (pending_save_on_exit)
|
||||||
|
|||||||
Reference in New Issue
Block a user