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:
parent
a7f8ee1106
commit
33ce7782e9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user