Avoid nag confirmation in scintilla
If we need to confirm abandoning changes, we need to do it in the dialog where we check for dialog changes.
This commit is contained in:
parent
321c9f81af
commit
02f91c52a0
|
@ -197,7 +197,7 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
|||
m_te->AutoCompCancel();
|
||||
m_suppressAutocomplete = true; // Don't run autocomplete again on the next char...
|
||||
}
|
||||
else if( IsOK( m_te->GetParent(), _( "Cancel changes?" ) ) )
|
||||
else
|
||||
{
|
||||
aEvent.Skip();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue