diff --git a/src/Controls/AudioVisualizer.cs b/src/Controls/AudioVisualizer.cs index c5d8157ec..c7e2a4960 100644 --- a/src/Controls/AudioVisualizer.cs +++ b/src/Controls/AudioVisualizer.cs @@ -1100,7 +1100,7 @@ namespace Nikse.SubtitleEdit.Controls Locked = !Locked; Invalidate(); e.SuppressKeyPress = true; - } + } } public double FindDataBelowThresshold(int thresshold, double durationInSeconds) diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index f3abd7ed3..43f56beef 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -9374,12 +9374,12 @@ namespace Nikse.SubtitleEdit.Forms } private void tabControl1_SelectedIndexChanged(object sender, EventArgs e) - { + { if (tabControlButtons.SelectedIndex == 0) { tabControlButtons.Width = groupBoxTranslateSearch.Left + groupBoxTranslateSearch.Width + 10; Configuration.Settings.VideoControls.LastActiveTab = "Translate"; - + } else if (tabControlButtons.SelectedIndex == 1) { @@ -12222,10 +12222,10 @@ namespace Nikse.SubtitleEdit.Forms { TabControl tc = (TabControl)sender; Brush textBrush = new SolidBrush(this.ForeColor); - Font tabFont = new Font(tc.Font, FontStyle.Regular); + Font tabFont = new Font(tc.Font, FontStyle.Regular); if (e.State == DrawItemState.Selected) { - tabFont = new Font(tc.Font, FontStyle.Bold); + tabFont = new Font(tc.Font, FontStyle.Bold); e.Graphics.FillRectangle(new SolidBrush(SystemColors.Window), e.Bounds); } Rectangle tabBounds = tc.GetTabRect(e.Index); diff --git a/src/Logic/Settings.cs b/src/Logic/Settings.cs index 644b922d8..fb611458d 100644 --- a/src/Logic/Settings.cs +++ b/src/Logic/Settings.cs @@ -485,7 +485,6 @@ namespace Nikse.SubtitleEdit.Logic public string WaveformPlaySelection { get; set; } public string WaveformSearchSilenceForward { get; set; } public string WaveformSearchSilenceBack { get; set; } - public Shortcuts() { diff --git a/src/SubtitleEdit.csproj b/src/SubtitleEdit.csproj index 2b829d475..28d027153 100644 --- a/src/SubtitleEdit.csproj +++ b/src/SubtitleEdit.csproj @@ -985,7 +985,6 @@ - Designer Always @@ -993,7 +992,6 @@ Always - Designer Always @@ -1006,7 +1004,6 @@ Always - Designer Always @@ -1016,14 +1013,12 @@ Always - Designer Always Always - Designer Always @@ -1033,22 +1028,18 @@ Always - Designer Always Always - Designer Always - Designer Always - Designer Always