mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Show split counts on split image button
This commit is contained in:
parent
d1f1da14ec
commit
134d893d5f
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ private void UpdateButtonStates()
|
|||
{
|
||||
btnSplitImage.Enabled = btnCopyChatEmoji.Enabled = !IsBusy && !string.IsNullOrEmpty(txtImageFilePath.Text) &&
|
||||
(nudRowCount.Value > 1 || nudColumnCount.Value > 1) && !string.IsNullOrEmpty(txtOutputFolder.Text);
|
||||
|
||||
// TODO: Translate
|
||||
btnSplitImage.Text = string.Format("Split image by {0}x{1}", nudColumnCount.Value, nudRowCount.Value);
|
||||
}
|
||||
|
||||
private List<string> SplitImage(string filePath, int rowCount, int columnCount, string outputFolder)
|
||||
|
|
Loading…
Reference in a new issue