1
0
mirror of synced 2025-01-31 03:53:44 +01:00

fix: Don't require providers to be writable to save a project

This commit is contained in:
WerWolv 2023-06-03 23:18:43 +02:00
parent 1dff81f7cd
commit 6d19b33e32

View File

@ -333,7 +333,7 @@ namespace hex::plugin::builtin {
ContentRegistry::Interface::addMenuItem({ "hex.builtin.menu.file", "hex.builtin.menu.file.project", "hex.builtin.menu.file.project.save_as" }, 1500,
ALT + SHIFT + Keys::S,
saveProjectAs, [&] { return ImHexApi::Provider::isValid() && ImHexApi::Provider::get()->isWritable(); });
saveProjectAs, noRunningTaskAndValidProvider);
ContentRegistry::Interface::addMenuItemSeparator({ "hex.builtin.menu.file" }, 2000);