coreapplicationuis/hbdeviceinputdialogplugin/src/hbdeviceinputdialogwidget.cpp
changeset 72 56a7be608841
parent 61 224b21efc2d4
equal deleted inserted replaced
71:9352913932ef 72:56a7be608841
    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()));