1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-26 06:40:22 +00:00

Feat(worldspacewidget.cpp): Add shortcut to clear selection

This commit is contained in:
Dave Corley 2023-12-22 17:27:50 -06:00
parent a7f8ee1106
commit 33ce7782e9

View File

@ -142,6 +142,9 @@ CSVRender::WorldspaceWidget::WorldspaceWidget(CSMDoc::Document& document, QWidge
connect(new CSMPrefs::Shortcut("scene-unhide-all", this), qOverload<>(&CSMPrefs::Shortcut::activated), this,
&WorldspaceWidget::unhideAll);
connect(new CSMPrefs::Shortcut("scene-clear-selection", this), qOverload<>(&CSMPrefs::Shortcut::activated), this,
[this] { this->clearSelection(Mask_Reference); });
mInConstructor = false;
}