Ignore:
Timestamp:
Feb 20, 2013, 2:55:48 PM (11 years ago)
Author:
garnier
Message:

bug #43 fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_dialog.cc

    r301 r336  
    1313                       bool modal
    1414                       ):
    15 WDialog(titre)
     15WDialog(titre+"   ")
    1616{
    1717   
     
    1919    titleBar()->decorationStyle().setBackgroundColor (WColor(70,180,220));
    2020   
    21     WContainerWidget* widgt = new WContainerWidget(contents());
    22     WHBoxLayout* hLayout = new WHBoxLayout();
    23     hLayout->addWidget(wc);
    24     widgt->setLayout(hLayout);
     21    if (wc != NULL) {
     22        WContainerWidget* widgt = new WContainerWidget(contents());
     23        WHBoxLayout* hLayout = new WHBoxLayout();
     24        hLayout->addWidget(wc);
     25        widgt->setLayout(hLayout);
     26    }
    2527   
    2628    setClosable(true);
     
    109111
    110112
     113
Note: See TracChangeset for help on using the changeset viewer.