~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/ui/ConfirmDialogWithInput.qml

  • Committer: Tarmac
  • Author(s): Arto Jalkanen
  • Date: 2014-09-04 09:15:22 UTC
  • mfrom: (262.1.2 ubuntu-filemanager-app)
  • Revision ID: tarmac-20140904091522-8fsuxw3sfuja6ukd
Fixed focus issue with rename dialog (or any other dialog using ConfirmDialogWithInput.qml). Fixes: https://bugs.launchpad.net/bugs/1361744.

Approved by Ubuntu Phone Apps Jenkins Bot, Carlos Jose Mazieri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    signal accepted
28
28
    signal rejected
29
29
 
 
30
    Component.onCompleted: {
 
31
        // Need to force active focus to input, otherwise the parent object that created this
 
32
        // dialog will continue to have active focus.
 
33
        input.forceActiveFocus()
 
34
    }
 
35
 
30
36
    TextField {
31
37
        id: input
32
38
        objectName: "inputField"