feat: Prevent Tab key from moving focus outside active viewport tools

This commit is contained in:
2026-02-16 18:51:57 -07:00
committed by Tanner Collin (aider)
parent d89b7e42bc
commit b2d5cd19d4
4 changed files with 32 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
#include <QMainWindow>
class QEvent;
class ViewportWidget;
class Document;
class Feature;
@@ -29,6 +30,9 @@ private slots:
void exitSketchMode();
void updateWindowTitle(const QString& filePath);
protected:
bool eventFilter(QObject *watched, QEvent *event) override;
private:
ApplicationController* m_appController;
ViewportWidget *m_viewport;