ENH:Update registry address
jira:[none] Change-Id: Idb37f196ee09adb502a4aa5f09c2ceaa560823aa
This commit is contained in:
parent
2ab417f331
commit
66a8e9ebf0
|
@ -8698,9 +8698,8 @@ void Plater::priv::on_action_send_to_multi_app(SimpleEvent &)
|
|||
HKEY hKey;
|
||||
|
||||
LONG result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\\Bambulab\\Bambu Farm Manager Client"), 0, KEY_READ, &hKey);
|
||||
LONG result_backup = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("HKEY_CLASSES_ROOT\\bambu-farm-client\\shell\\open\\command"), 0, KEY_READ, &hKey);
|
||||
|
||||
if (result == ERROR_SUCCESS || result_backup == ERROR_SUCCESS) {
|
||||
if (result == ERROR_SUCCESS) {
|
||||
RegCloseKey(hKey);
|
||||
|
||||
auto gcodeResult = q->send_gcode(partplate_list.get_curr_plate_index(), [this](int export_stage, int current, int total, bool &cancel) {});
|
||||
|
|
Loading…
Reference in New Issue