mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
Allow save selected lines as subtitle with only 1 row selected - thx Pierrounator :)
Fix #8796
This commit is contained in:
parent
d97cefd57b
commit
17489f32dd
@ -9693,7 +9693,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
bool noNetWorkSession = _networkSession == null;
|
bool noNetWorkSession = _networkSession == null;
|
||||||
|
|
||||||
toolStripMenuItemSaveSelectedLines.Visible = false;
|
toolStripMenuItemSaveSelectedLines.Visible = true;
|
||||||
toolStripMenuItemInsertBefore.Visible = true;
|
toolStripMenuItemInsertBefore.Visible = true;
|
||||||
toolStripMenuItemInsertAfter.Visible = true;
|
toolStripMenuItemInsertAfter.Visible = true;
|
||||||
toolStripMenuItemInsertSubtitle.Visible = noNetWorkSession;
|
toolStripMenuItemInsertSubtitle.Visible = noNetWorkSession;
|
||||||
@ -9735,7 +9735,6 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
}
|
}
|
||||||
else if (SubtitleListview1.SelectedItems.Count >= 2)
|
else if (SubtitleListview1.SelectedItems.Count >= 2)
|
||||||
{
|
{
|
||||||
toolStripMenuItemSaveSelectedLines.Visible = true;
|
|
||||||
toolStripMenuItemInsertBefore.Visible = false;
|
toolStripMenuItemInsertBefore.Visible = false;
|
||||||
toolStripMenuItemInsertAfter.Visible = false;
|
toolStripMenuItemInsertAfter.Visible = false;
|
||||||
toolStripMenuItemInsertSubtitle.Visible = false;
|
toolStripMenuItemInsertSubtitle.Visible = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user