mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
[MAIN] this is so bad (#550)
(cherry picked from commit ddbfbd7b89105a9d3843b7a0284ff03ed367b808) (cherry picked from commit 803d800923f2144c61a484484a4796667ae57727) Co-authored-by: Mike Griese <zadjii@gmail.com>
This commit is contained in:
@@ -68,7 +68,7 @@ public partial class RecentCommandsManager : ObservableObject
|
||||
|
||||
if (History.Count > 50)
|
||||
{
|
||||
History.RemoveRange(50, History.Count);
|
||||
History.RemoveRange(50, History.Count - 50);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user