refactor io/engine_paths
This commit is contained in:
@@ -258,7 +258,7 @@ static int l_pack_request_writeable(lua::State* L) {
|
||||
auto str = langs::get(L"Grant %{0} pack modification permission?");
|
||||
util::replaceAll(str, L"%{0}", util::str2wstr_utf8(packid));
|
||||
guiutil::confirm(*engine, str, [packid, handler]() {
|
||||
handler({engine->getPaths().createWriteablePackDevice(packid)});
|
||||
handler({engine->getPaths().createWriteableDevice(packid)});
|
||||
engine->getGUI().getMenu()->reset();
|
||||
});
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user