all windows but the master panel are destroyed at logout
fix for issue #878, see http://bugs.campware.org/view.php?id=878
This commit is contained in:
parent
84523cbda1
commit
d05a992551
1 changed files with 13 additions and 8 deletions
|
@ -21,8 +21,8 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Author : $Author: fgerlits $
|
||||
Version : $Revision: 1.21 $
|
||||
Author : $Author: maroy $
|
||||
Version : $Revision: 1.22 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -301,7 +301,7 @@ MasterPanelWindow :: onUpdateTime(int dummy) throw ()
|
|||
void
|
||||
MasterPanelWindow :: onUploadFileButtonClicked(void) throw ()
|
||||
{
|
||||
if (!scratchpadWindow.get()) {
|
||||
if (!uploadFileWindow.get()) {
|
||||
Ptr<ResourceBundle>::Ref bundle;
|
||||
try {
|
||||
bundle = getBundle("uploadFileWindow");
|
||||
|
@ -432,20 +432,25 @@ MasterPanelWindow :: showAnonymousUI(void) throw ()
|
|||
schedulerButton->hide();
|
||||
searchButton->hide();
|
||||
|
||||
if (uploadFileWindow) {
|
||||
if (uploadFileWindow.get()) {
|
||||
uploadFileWindow->hide();
|
||||
uploadFileWindow.reset();
|
||||
}
|
||||
if (scratchpadWindow) {
|
||||
if (scratchpadWindow.get()) {
|
||||
scratchpadWindow->hide();
|
||||
scratchpadWindow.reset();
|
||||
}
|
||||
if (simplePlaylistMgmtWindow) {
|
||||
if (simplePlaylistMgmtWindow.get()) {
|
||||
simplePlaylistMgmtWindow->hide();
|
||||
simplePlaylistMgmtWindow.reset();
|
||||
}
|
||||
if (schedulerWindow) {
|
||||
if (schedulerWindow.get()) {
|
||||
schedulerWindow->hide();
|
||||
schedulerWindow.reset();
|
||||
}
|
||||
if (searchWindow) {
|
||||
if (searchWindow.get()) {
|
||||
searchWindow->hide();
|
||||
searchWindow.reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue