Skip to content
Snippets Groups Projects
  • Kai Koehne's avatar
    84c30ea9
    Let the DesignMode recover when the qml contains an error on first load · 84c30ea9
    Kai Koehne authored
    If the qml contains an error on frist call of
    DesignDocumentController::loadMaster, we did not wire up the components
    to the model. If the user then fixed the qml, the Design mode widgets
    were 'enabled', but didn't contain any meaningful input.
    
    Fixed by always wiring up the components. Unfortunately this shows the
    'default' model with just a Rectangle.
    84c30ea9
    History
    Let the DesignMode recover when the qml contains an error on first load
    Kai Koehne authored
    If the qml contains an error on frist call of
    DesignDocumentController::loadMaster, we did not wire up the components
    to the model. If the user then fixed the qml, the Design mode widgets
    were 'enabled', but didn't contain any meaningful input.
    
    Fixed by always wiring up the components. Unfortunately this shows the
    'default' model with just a Rectangle.