Spreadsheet: fix #3474 cross-CS drag-drop issue

This commit is contained in:
DeepSOIC
2019-01-19 15:15:08 +03:00
committed by wmayer
parent 0b75a92231
commit e49d715352

View File

@@ -87,6 +87,7 @@ Sheet::Sheet()
ADD_PROPERTY_TYPE(rowHeights, (), "Spreadsheet", (PropertyType)(Prop_ReadOnly|Prop_Hidden), "Row heights");
docDeps.setSize(0);
docDeps.setScope(LinkScope::Global);
onRenamedDocumentConnection = GetApplication().signalRenameDocument.connect(boost::bind(&Spreadsheet::Sheet::onRenamedDocument, this, _1));
onRelabledDocumentConnection = GetApplication().signalRelabelDocument.connect(boost::bind(&Spreadsheet::Sheet::onRelabledDocument, this, _1));