coreapplicationuis/hbdeviceinputdialogplugin/src/hbdeviceinputdialogwidget.cpp
changeset 76 f5642d05cce0
parent 65 8a530a83576a
equal deleted inserted replaced
69:dcd4152cfe55 76:f5642d05cce0
    40     //resetProperties();
    40     //resetProperties();
    41     if (preConstructDialog())
    41     if (preConstructDialog())
    42        {
    42        {
    43         //Translator loaded succesfully then olny construct widgets
    43         //Translator loaded succesfully then olny construct widgets
    44         constructDialog(parameters);
    44         constructDialog(parameters);
       
    45         this->actions()[0]->setEnabled(true);
       
    46 
    45         if (!mPrimaryAction) {
    47         if (!mPrimaryAction) {
    46             // If default button provided by HbInputDialog is used, connect into its triggered signal.
    48             // If default button provided by HbInputDialog is used, connect into its triggered signal.
    47             QAction *action = /*primaryAction()*/this->actions().first();
    49             QAction *action = /*primaryAction()*/this->actions().first();
    48             if (action) {
    50             if (action) {
    49                 connect(action, SIGNAL(triggered()), SLOT(primaryActionTriggered()));
    51                 connect(action, SIGNAL(triggered()), SLOT(primaryActionTriggered()));