Changeset 5862


Ignore:
Timestamp:
04/05/14 08:57:11 (6 years ago)
Author:
avneesh-singh
Message:

fixed invokation exception coming from closing project while monitoring continuously

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/ObiForm.cs

    r5861 r5862  
    851851                if (!(FreezeChangesFromProjectRestore() ?? true)) return false; 
    852852                if (!SaveProjectAndBookmarkOptionally()) return false; 
     853 
     854                /// if Monitor continuously is active, it should be surely disabled, no matter if transportbar is active or not 
     855                if (mProjectView.TransportBar.MonitorContinuously) mProjectView.TransportBar.MonitorContinuously = false;//@Monitorcontinuously 
    853856                if (mProjectView.TransportBar.IsActive) 
    854857                { 
    855858                    mProjectView.TransportBar.Stop(); 
    856                     if (mProjectView.TransportBar.MonitorContinuously) mProjectView.TransportBar.MonitorContinuously = false;//@Monitorcontinuously 
     859                     
    857860                } 
    858861                /*  if (!mSession.CanClose) 
Note: See TracChangeset for help on using the changeset viewer.