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:
@@ -3141,6 +3141,9 @@ bool DbGridControl::SaveRow()
|
|||||||
catch(SQLException&)
|
catch(SQLException&)
|
||||||
{
|
{
|
||||||
EndCursorAction();
|
EndCursorAction();
|
||||||
|
Any aError = ::cppu::getCaughtException();
|
||||||
|
if ( aError.hasValue() )
|
||||||
|
displayException( aError );
|
||||||
m_bUpdating = false;
|
m_bUpdating = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user