mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
File size limit typo fix (#25478)
This commit is contained in:
parent
cc567f2fbb
commit
b203c3cbac
@ -29,7 +29,7 @@ namespace RegistryPreview
|
||||
try
|
||||
{
|
||||
long fileLength = new System.IO.FileInfo(filename).Length;
|
||||
if (fileLength > 1048576)
|
||||
if (fileLength > 10485760)
|
||||
{
|
||||
ShowMessageBox(resourceLoader.GetString("LargeRegistryFileTitle"), App.AppFilename + resourceLoader.GetString("LargeRegistryFile"), resourceLoader.GetString("OkButtonText"));
|
||||
ChangeCursor(gridPreview, false);
|
||||
|
Loading…
Reference in New Issue
Block a user