Resolves fdo#75339 : No Error-Dialog appears in specific cases in Base

If SQLexception, just retrieve the information and display it

Change-Id: I236d1b7bc07dbbfa9c30b845a145208d1d3727f5
This commit is contained in:
Julien Nabet
2014-06-23 22:14:26 +02:00
parent 250922293b
commit 701bbaf93f

View File

@@ -3141,6 +3141,9 @@ bool DbGridControl::SaveRow()
catch(SQLException&)
{
EndCursorAction();
Any aError = ::cppu::getCaughtException();
if ( aError.hasValue() )
displayException( aError );
m_bUpdating = false;
return false;
}