diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-21 13:23:24 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-21 13:23:24 +0000 |
commit | edbe737895dacf8bf54813d7bc99c5e851dc8018 (patch) | |
tree | 1a8e7fb157879cff1b5db0bcab045244d10dc721 /muse2/muse/cobject.cpp | |
parent | ddd2a029be95206f1cd834cb76f6d5bb1859b890 (diff) |
added "windows" menu
removed unneeded debugging messages ("FINDMICH")
Diffstat (limited to 'muse2/muse/cobject.cpp')
-rw-r--r-- | muse2/muse/cobject.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp index 2c60a90c..02a7ca74 100644 --- a/muse2/muse/cobject.cpp +++ b/muse2/muse/cobject.cpp @@ -176,6 +176,7 @@ void TopWin::setIsMdiWin(bool val) shareToolsAndMenu(_sharesWhenSubwin[_type]); subwinAction->setChecked(true); + muse->updateWindowMenu(); } else { @@ -191,16 +192,15 @@ void TopWin::setIsMdiWin(bool val) mdisubwin=NULL; setParent(NULL); mdisubwin_temp->hide(); - //TODO FINDMICH evtl noch ein signal emitten oder sowas? delete mdisubwin_temp; - printf("FINDMICH unMDIfied, visible is %i\n",vis); setVisible(vis); if (_sharesToolsAndMenu == _sharesWhenSubwin[_type]) shareToolsAndMenu(_sharesWhenFree[_type]); subwinAction->setChecked(false); + muse->updateWindowMenu(); } else { @@ -381,15 +381,10 @@ void TopWin::writeConfiguration(ToplevelType t, int level, Xml& xml) void TopWin::initTopwinState() { - printf("FINDMICH: in initTopwinState()\n"); - if (sharesToolsAndMenu()) { if (this == muse->getCurrentMenuSharingTopwin()) - { - printf("FINDMICH RESTORING for %s...\n",windowTitle().toAscii().data()); muse->restoreState(_toolbarSharedInit[_type]); - } } else restoreState(_toolbarNonsharedInit[_type]); |