Centralize legacy history bridge
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "app_core/document_recording.h"
|
||||
#include "app_core/document_route.h"
|
||||
#include "app_core/document_session.h"
|
||||
#include "legacy_history_services.h"
|
||||
#include "platform_api/platform_services.h"
|
||||
#include "renderer_gl/opengl_capabilities.h"
|
||||
|
||||
@@ -239,7 +240,7 @@ void App::open_document(std::string path)
|
||||
"It may be inaccessible or corrupted.");
|
||||
}
|
||||
});
|
||||
ActionManager::clear();
|
||||
pp::panopainter::clear_legacy_history();
|
||||
};
|
||||
if (open_plan == pp::app::DocumentOpenPlanAction::open_project_now)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user