mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 11:19:58 +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())
|
||||
return false;
|
||||
|
||||
// always stop all recordings
|
||||
FrameGrabbing::manager().stopAll();
|
||||
// always stop all recordings and pending actions
|
||||
FrameGrabbing::manager().stopAll();
|
||||
navigator.discardPannel();
|
||||
|
||||
// force close if trying to close again although it is already pending for save
|
||||
if (pending_save_on_exit)
|
||||
|
||||
Reference in New Issue
Block a user