Changeset 5810


Ignore:
Timestamp:
03/19/14 05:37:55 (6 years ago)
Author:
rohit_tandon
Message:

"Disable Deselection on stop" checkbox added

Location:
trunk/Obi/Obi
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/Dialogs/Preferences.cs

    r5808 r5810  
    212212                m_CheckBoxListView.Items[13].Checked = mSettings.Audio_EnforceSingleCursor; 
    213213                m_CheckBoxListView.Items[14].Checked = mSettings.Audio_DeleteFollowingPhrasesOfSectionAfterRecording; 
     214                m_CheckBoxListView.Items[15].Checked = mSettings.Audio_DisableDeselectionOnStop; 
    214215                m_IsComplete = true; 
    215216 
     
    838839                mSettings.Audio_EnforceSingleCursor = m_CheckBoxListView.Items[13].Checked; 
    839840                mSettings.Audio_DeleteFollowingPhrasesOfSectionAfterRecording = m_CheckBoxListView.Items[14].Checked; 
     841                mSettings.Audio_DisableDeselectionOnStop = m_CheckBoxListView.Items[15].Checked; 
    840842                mSettings.Audio_LevelComboBoxIndex = m_SelectLevelComboBox.SelectedIndex; 
    841843            } 
     
    877879                m_CheckBoxListView.Items.Add(Localizer.Message("Audio_EnforceSingleCursor")); 
    878880                m_CheckBoxListView.Items.Add(Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording")); 
     881                m_CheckBoxListView.Items.Add(Localizer.Message("Audio_DisableDeselectionOnStop")); 
    879882                m_grpBoxChkBoxListView.Size = new Size(352, 97); 
    880883                m_grpBoxChkBoxListView.Location = new Point(85, 264); 
     
    910913                m_CheckBoxListView.Items[14].Checked = mSettings.Audio_DeleteFollowingPhrasesOfSectionAfterRecording; 
    911914                m_CheckBoxListView.Items[14].ToolTipText = Localizer.Message("Audio_DeleteFollowingPhrasesOfSectionAfterRecording"); 
     915                m_CheckBoxListView.Items[15].Checked = mSettings.Audio_DisableDeselectionOnStop; 
     916                m_CheckBoxListView.Items[15].ToolTipText = Localizer.Message("Audio_DisableDeselectionOnStop"); 
    912917 
    913918                m_SelectLevelComboBox.SelectedIndex = mSettings.Audio_LevelComboBoxIndex; 
     
    15091514                m_CheckBoxListView.Items[13].Checked = false; 
    15101515                m_CheckBoxListView.Items[14].Checked = false; 
     1516                m_CheckBoxListView.Items[15].Checked = false; 
    15111517                m_FlagComboBoxIndexChange = false; 
    15121518                m_IndexOfLevelCombox = m_SelectLevelComboBox.SelectedIndex; 
     
    15461552                        m_CheckBoxListView.Items[13].Checked = false; 
    15471553                        m_CheckBoxListView.Items[14].Checked = false; 
     1554                        m_CheckBoxListView.Items[15].Checked = false; 
    15481555                        m_FlagComboBoxIndexChange = false; 
    15491556 
     
    15921599                        m_CheckBoxListView.Items[13].Checked = true; 
    15931600                        m_CheckBoxListView.Items[14].Checked = true; 
     1601                        m_CheckBoxListView.Items[15].Checked = true; 
    15941602                        m_FlagComboBoxIndexChange = false; 
    15951603                    } 
  • trunk/Obi/Obi/ProjectView/TransportBar.cs

    r5809 r5810  
    16151615                { 
    16161616                    // Stopping again deselects everything 
    1617                     if (mState == State.Stopped) 
     1617                    if (mState == State.Stopped && !mView.ObiForm.Settings.Audio_DisableDeselectionOnStop) 
    16181618                    { 
    16191619                    mView.SetPlaybackPhraseAndTime ( null, 0.0 ); 
  • trunk/Obi/Obi/messages.Designer.cs

    r5801 r5810  
    260260         
    261261        /// <summary> 
     262        ///   Looks up a localized string similar to Disable Deselection on stop. 
     263        /// </summary> 
     264        internal static string Audio_DisableDeselectionOnStop { 
     265            get { 
     266                return ResourceManager.GetString("Audio_DisableDeselectionOnStop", resourceCulture); 
     267            } 
     268        } 
     269         
     270        /// <summary> 
    262271        ///   Looks up a localized string similar to Renumber the following pages when recording ends. 
    263272        /// </summary> 
  • trunk/Obi/Obi/messages.resx

    r5801 r5810  
    26212621    <value>Audio Profile Description</value> 
    26222622  </data> 
     2623  <data name="Audio_DisableDeselectionOnStop" xml:space="preserve"> 
     2624    <value>Disable Deselection on stop</value> 
     2625  </data> 
    26232626</root> 
Note: See TracChangeset for help on using the changeset viewer.