Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5631

QToolButton remains down

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 4.5.0
    • None

    Description

      I have some QToolButtons not checkable in a layout.
      The pressed() signal is connected to a slot.

      Sometimes when I press the QToolButton, it remains down, as if it was checked. It appens when in the connected slot I show a QMessageBox (and I think any dialog).

      I can fix this behavoiur calling QToolButton::setDown(false) in the connected slot.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hanssen Andreas Aardal Hanssen (closed Nokia identity) (Inactive)
            puffosauro Fabio Dago
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes