diff --git a/src/gui/widgets/generator.cpp b/src/gui/widgets/generator.cpp index c3f0a33fd72..b491da5af4d 100644 --- a/src/gui/widgets/generator.cpp +++ b/src/gui/widgets/generator.cpp @@ -84,7 +84,7 @@ bool one_item::deselect_item(const unsigned index) void one_item::delete_item(const unsigned index) { // this needs the same logic for ensuring that at least one item is selected - set_item_shown(index, false); + one_item::set_item_shown(index, false); } void no_item::set_item_shown(const unsigned index, const bool show)