mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: [STUDIO-2865] only send changed thubmails to home page
Change-Id: I88ae0dd3a47c4cf02bf97978a22fd72ed0ef0299
This commit is contained in:
parent
1cde1ebaed
commit
dfd049374c
6 changed files with 18 additions and 14 deletions
|
@ -414,12 +414,12 @@ void WebViewPanel::OnFreshLoginStatus(wxTimerEvent &event)
|
|||
Slic3r::GUI::wxGetApp().get_login_info();
|
||||
}
|
||||
|
||||
void WebViewPanel::SendRecentList(wxString const &sequence_id)
|
||||
void WebViewPanel::SendRecentList(int images)
|
||||
{
|
||||
boost::property_tree::wptree req;
|
||||
boost::property_tree::wptree data;
|
||||
wxGetApp().mainframe->get_recent_projects(data);
|
||||
req.put(L"sequence_id", sequence_id);
|
||||
wxGetApp().mainframe->get_recent_projects(data, images);
|
||||
req.put(L"sequence_id", "");
|
||||
req.put(L"command", L"get_recent_projects");
|
||||
req.put_child(L"response", data);
|
||||
std::wostringstream oss;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue