Fixed a bug where an imported column was not flagged as finished,
resulting in its deletion when reopening the DMS.
This commit is contained in:
@ -1420,6 +1420,8 @@ obiversion_t obi_import_column(const char* dms_path_1, const char* dms_path_2, c
|
|||||||
obidebug(1, "\nError closing an imported column");
|
obidebug(1, "\nError closing an imported column");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(column_2->header)->finished = true; // note: this is normally handled by the view that created the column
|
||||||
if (obi_close_column(column_2) < 0)
|
if (obi_close_column(column_2) < 0)
|
||||||
{
|
{
|
||||||
obidebug(1, "\nError closing an imported column");
|
obidebug(1, "\nError closing an imported column");
|
||||||
@ -1494,6 +1496,8 @@ obiversion_t obi_import_column(const char* dms_path_1, const char* dms_path_2, c
|
|||||||
obidebug(1, "\nError closing an imported column");
|
obidebug(1, "\nError closing an imported column");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(column_2->header)->finished = true; // note: this is normally handled by the view that created the column
|
||||||
if (obi_close_column(column_2) < 0)
|
if (obi_close_column(column_2) < 0)
|
||||||
{
|
{
|
||||||
obidebug(1, "\nError closing an imported column");
|
obidebug(1, "\nError closing an imported column");
|
||||||
|
Reference in New Issue
Block a user