Skip to content

Commit 7655d92

Browse files
committed
We only want one dataset
1 parent f717d34 commit 7655d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ScatterplotPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ScatterplotPlugin::ScatterplotPlugin(const PluginFactory* factory) :
138138
if (datasetsMimeData == nullptr)
139139
return dropRegions;
140140

141-
if (datasetsMimeData->getDatasetsCount() > 1)
141+
if (datasetsMimeData->getDatasetsCount() != 1)
142142
return dropRegions;
143143

144144
const auto& dataset = datasetsMimeData->getDatasetsRef().first();

0 commit comments

Comments
 (0)