Avoid to activate wrong MDI view, show fillet/chamfer tools for selected edges

This commit is contained in:
wmayer
2012-09-18 16:24:50 +02:00
parent 7a327e1d14
commit 41d0007fc4
2 changed files with 25 additions and 0 deletions

View File

@@ -132,6 +132,9 @@ public:
const QString &title,
QWidget *parent = 0)
: iisIconLabel(icon, title, parent) {
// do not allow to get the focus because when hiding the task box
// it could cause to activate another MDI view.
setFocusPolicy(Qt::NoFocus);
}
void setTitle(const QString &text) {
myText = text;