RepositoryUpdateUIManager: Fixed Error messages

This commit is contained in:
YuSanka 2024-06-20 16:27:08 +02:00
parent 0602723695
commit afad881500

View File

@ -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();