mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
PresetUpdate: Fix UpdateConfig dialog
This commit is contained in:
1 parent
b7bcf27cde
commit
f23f86d91c
1 file changed
+1
-1
@@ -525,7 +525,7 @@ bool PresetUpdater::config_update() const
|
|||||||
GUI::MsgUpdateConfig dlg(std::move(updates_map));
|
GUI::MsgUpdateConfig dlg(std::move(updates_map));
|
||||||
|
|
||||||
const auto res = dlg.ShowModal();
|
const auto res = dlg.ShowModal();
|
||||||
if (res == wxID_YES) {
|
if (res == wxID_OK) {
|
||||||
BOOST_LOG_TRIVIAL(debug) << "User agreed to perform the update";
|
BOOST_LOG_TRIVIAL(debug) << "User agreed to perform the update";
|
||||||
p->perform_updates(std::move(updates));
|
p->perform_updates(std::move(updates));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user