Skip to content

Commit 63547f7

Browse files
committed
Use correct icon setter
1 parent 3c6579c commit 63547f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SpectralViewPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ mv::gui::PluginTriggerActions SpectralViewPluginFactory::getPluginTriggerActions
12991299
if (PluginFactory::areAllDatasetsOfTheSameType(datasets, PointType)) {
13001300
if (numberOfDatasets >= 1) {
13011301
if (datasets.first()->getDataType() == PointType) {
1302-
auto pluginTriggerAction = new PluginTriggerAction(const_cast<SpectralViewPluginFactory*>(this), this, "Spectral Viewer", "Load dataset in spectral Viewer", getIcon(), [this, getInstance, datasets](PluginTriggerAction& pluginTriggerAction) -> void {
1302+
auto pluginTriggerAction = new PluginTriggerAction(const_cast<SpectralViewPluginFactory*>(this), this, "Spectral Viewer", "Load dataset in spectral Viewer", icon(), [this, getInstance, datasets](PluginTriggerAction& pluginTriggerAction) -> void {
13031303
for (const auto& dataset : datasets)
13041304
getInstance()->loadData(Datasets({ dataset }));
13051305
});

0 commit comments

Comments
 (0)