summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-08-25 16:48:59 +0000
committerFlorian Jung <flo@windfisch.org>2011-08-25 16:48:59 +0000
commitbd3ef3a814809159bdef0d5ed3bd2cce8b53bd65 (patch)
tree4173f8adae7b99d06b9b38cabd581409a19c1052
parent557b84f7325d632bcd2455bb863c1c6557ce44b4 (diff)
housekeeping and made some error more fatal (now aborts muse)
-rw-r--r--muse2/muse/cobject.cpp3
-rw-r--r--muse2/muse/midiedit/scoreedit.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp
index 339ebc9d..7f4af8a2 100644
--- a/muse2/muse/cobject.cpp
+++ b/muse2/muse/cobject.cpp
@@ -331,7 +331,10 @@ void TopWin::shareToolsAndMenu(bool val)
void TopWin::storeInitialState() const
{
if (initalizing)
+ {
printf("THIS SHOULD NEVER HAPPEN: STORE INIT STATE CALLED WHILE INITING! please IMMEDIATELY report that to flo!\n");
+ exit(1);
+ }
_widthInit[_type] = width();
_heightInit[_type] = height();
diff --git a/muse2/muse/midiedit/scoreedit.cpp b/muse2/muse/midiedit/scoreedit.cpp
index b2b3ebd5..dcf132ab 100644
--- a/muse2/muse/midiedit/scoreedit.cpp
+++ b/muse2/muse/midiedit/scoreedit.cpp
@@ -4447,7 +4447,6 @@ void staff_t::update_part_indices()
* because after A (and B) got resized, the B-resize is invalid!
* o when changing toolbarstate when sharing and immediately after that
* changing "share" status, the changed state isn't stored
- * o arranger window's state is incorrect when starting muse (too far left)
*
* CURRENT TODO
* M o remove that ugly "bool initalizing" stuff. it's probably unneeded (watch out for the FINDMICH message)