Skip to content

Commit

Permalink
Add icon for Document Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Mar 5, 2024
1 parent 5bc3202 commit 34f6e5f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NAPS2.Lib/EtoForms/Ui/DesktopCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ public DesktopCommands(DesktopController desktopController, DesktopScanControlle
// TODO: Make this an image form with options
DocumentCorrection = new ActionCommand(imageListActions.DocumentCorrection)
{
Text = UiStrings.DocumentCorrection
Text = UiStrings.DocumentCorrection,
Image = iconProvider.GetIcon("document")
};
ResetImage = new ActionCommand(desktopController.ResetImage)
{
Expand Down
10 changes: 10 additions & 0 deletions NAPS2.Lib/Icons.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions NAPS2.Lib/Icons.resx
Original file line number Diff line number Diff line change
Expand Up @@ -400,4 +400,7 @@
<data name="redo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Icons\redo.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="document" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Icons\document.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>
Binary file added NAPS2.Lib/Icons/document.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34f6e5f

Please sign in to comment.