Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 171328
Collapse All | Expand All

(-)umbrello-3.5.6.orig/umbrello/umbrello/umldoc.cpp (-7 / +2 lines)
Lines 147-161 Link Here
147
    if ( pApp->getListView() )
147
    if ( pApp->getListView() )
148
        connect(this, SIGNAL(sigObjectRemoved(UMLObject *)), view, SLOT(slotObjectRemoved(UMLObject *)));
148
        connect(this, SIGNAL(sigObjectRemoved(UMLObject *)), view, SLOT(slotObjectRemoved(UMLObject *)));
149
149
150
    UMLView * previousView = pApp->getCurrentView();
151
    pApp->setCurrentView(view);
150
    pApp->setCurrentView(view);
152
    if ( ! m_bLoading ) {
151
    if ( ! m_bLoading ) {
153
        if (previousView == NULL) {
152
    	view->show();
154
            view -> show();
153
	emit sigDiagramChanged(view ->getType());
155
            emit sigDiagramChanged(view ->getType());
156
        } else {
157
            view -> hide();
158
        }
159
    }
154
    }
160
155
161
    Settings::OptionState optionState = Settings::getOptionState();
156
    Settings::OptionState optionState = Settings::getOptionState();

Return to bug 171328