mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:45:58 +08:00
RepositoryUpdateUIManager: Fixed Error messages
This commit is contained in:
parent
0602723695
commit
afad881500
@ -259,7 +259,7 @@ void RepositoryUpdateUIManager::load_offline_repos()
|
|||||||
std::string msg;
|
std::string msg;
|
||||||
std::string uuid = m_pad->add_local_archive(input_path, msg);
|
std::string uuid = m_pad->add_local_archive(input_path, msg);
|
||||||
if (uuid.empty()) {
|
if (uuid.empty()) {
|
||||||
ErrorDialog(m_parent, msg, false).ShowModal();
|
ErrorDialog(m_parent, from_u8(msg), false).ShowModal();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
m_selected_uuids.emplace(uuid);
|
m_selected_uuids.emplace(uuid);
|
||||||
@ -285,7 +285,7 @@ bool RepositoryUpdateUIManager::set_selected_repositories()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
ErrorDialog(m_parent, msg, false).ShowModal();
|
ErrorDialog(m_parent, from_u8(msg), false).ShowModal();
|
||||||
// update selection on UI
|
// update selection on UI
|
||||||
update();
|
update();
|
||||||
check_selection();
|
check_selection();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user