mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: unload default user presets
Change-Id: I55e289708603f06263a64d4cfbfd1db596fdc864
This commit is contained in:
parent
87abd65ea4
commit
fd787adf6b
2 changed files with 6 additions and 6 deletions
|
@ -3962,15 +3962,15 @@ void GUI_App::on_user_login_handle(wxCommandEvent &evt)
|
|||
wxQueueEvent(this, evt);
|
||||
});
|
||||
|
||||
if (app_config->get("sync_user_preset") == "true") {
|
||||
|
||||
|
||||
if (online_login)
|
||||
GUI::wxGetApp().mainframe->show_sync_dialog();
|
||||
else if (app_config->get("sync_user_preset") == "true") {
|
||||
enable_user_preset_folder(true);
|
||||
} else {
|
||||
enable_user_preset_folder(false);
|
||||
}
|
||||
|
||||
if (online_login)
|
||||
GUI::wxGetApp().mainframe->show_sync_dialog();
|
||||
|
||||
//show publish button
|
||||
if (m_agent->is_user_login() && mainframe) {
|
||||
int identifier;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue