mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
if the sandbox/matplotlib view controller is displayed. Its state won't be always right; instead, use the StackViewController depth. This fixes the following bug: when popping the sandbox/matplotlib view controller, the first responder token was not given to the console controller!
14 lines
189 B
C++
14 lines
189 B
C++
#include "plot_controller.h"
|
|
|
|
namespace Matplotlib {
|
|
|
|
void PlotController::viewWillAppear() {
|
|
curveView()->reload();
|
|
}
|
|
|
|
void PlotController::viewDidDisappear() {
|
|
m_store->flush();
|
|
}
|
|
|
|
}
|