mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 15:09:43 +00:00
Feat(worldspacewidget.cpp): Add shortcut to clear selection
This commit is contained in:
parent
a7f8ee1106
commit
33ce7782e9
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue