Commit ab4e99d0 authored by Claes Sjofors's avatar Claes Sjofors

Wb directory volume, revert didn't work

parent b292f0dd
......@@ -2141,7 +2141,8 @@ bool wb_vrepmem::commit(pwr_tStatus *sts)
bool wb_vrepmem::abort(pwr_tStatus *sts)
{
// Reload
if ( m_classeditor) {
if ( m_classeditor || cid() == pwr_eClass_DirectoryVolume) {
clear();
loadWbl( m_filename, sts, true);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment