Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0023552: Unable to use the contextual menu of Object Browser window
[modules/gui.git]
/
src
/
Qtx
/
QtxWorkspace.cxx
diff --git
a/src/Qtx/QtxWorkspace.cxx
b/src/Qtx/QtxWorkspace.cxx
index 8739e529bf150b074e1f274540fc9482cc5a2aca..f59a60e4b1001a1980ce7f6fc2757f5a70341eae 100644
(file)
--- a/
src/Qtx/QtxWorkspace.cxx
+++ b/
src/Qtx/QtxWorkspace.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-136,3
+136,11
@@
void QtxWorkspace::tileHorizontal()
x += actualW;
}
}
x += actualW;
}
}
+
+void QtxWorkspace::onSubWindowActivated( QMdiSubWindow* subWindow )
+{
+ QWidget* w = 0;
+ if ( subWindow )
+ w = subWindow->widget();
+ emit windowActivated( w );
+}