Reverse if logic in UpdateDiagnosticInterface
This commit is contained in:
parent
3dd24201f3
commit
fbdf7cc85e
@ -312,11 +312,10 @@ class YouCompleteMe( object ):
|
|||||||
|
|
||||||
|
|
||||||
def UpdateDiagnosticInterface( self ):
|
def UpdateDiagnosticInterface( self ):
|
||||||
if ( not self.DiagnosticsForCurrentFileReady() or
|
if ( self.DiagnosticsForCurrentFileReady() and
|
||||||
not self.NativeFiletypeCompletionUsable() ):
|
self.NativeFiletypeCompletionUsable() ):
|
||||||
return
|
self._diag_interface.UpdateWithNewDiagnostics(
|
||||||
self._diag_interface.UpdateWithNewDiagnostics(
|
self.GetDiagnosticsFromStoredRequest() )
|
||||||
self.GetDiagnosticsFromStoredRequest() )
|
|
||||||
|
|
||||||
|
|
||||||
def ShowDetailedDiagnostic( self ):
|
def ShowDetailedDiagnostic( self ):
|
||||||
|
Loading…
Reference in New Issue
Block a user