mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[python] Matplotlib: flush the plot store when the controller is popped
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include "plot_controller.h"
|
||||
|
||||
namespace Matplotlib {
|
||||
|
||||
void PlotController::viewDidDisappear() {
|
||||
MicroPython::ExecutionViewControllerHelper::viewDidDisappear(this);
|
||||
m_store->flush();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user