--- qsampler/trunk/src/qsamplerMainForm.ui.h 2005/03/07 17:05:55 428 +++ qsampler/trunk/src/qsamplerMainForm.ui.h 2005/03/09 16:44:04 433 @@ -271,9 +271,6 @@ // Some windows default fonts is here on demand too. if (bQueryClose && m_pMessages) m_pOptions->sMessagesFont = m_pMessages->messagesFont().toString(); - // Other windows just need asking if it can close gracefully... - if (bQueryClose && m_pDeviceForm) - bQueryClose = m_pDeviceForm->queryClose(); // Try to save current positioning. if (bQueryClose) { // Save decorations state. @@ -704,6 +701,16 @@ } +// Session change receiver slot. +void qsamplerMainForm::sessionDirty (void) +{ + // Just mark the dirty form. + m_iDirtyCount++; + // and update the form status... + stabilizeForm(); +} + + //------------------------------------------------------------------------- // qsamplerMainForm -- File Action slots.