From bd3ef3a814809159bdef0d5ed3bd2cce8b53bd65 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 25 Aug 2011 16:48:59 +0000 Subject: housekeeping and made some error more fatal (now aborts muse) --- muse2/muse/cobject.cpp | 3 +++ muse2/muse/midiedit/scoreedit.cpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3