Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Ambiguous QShortcut creates an unwanted dialog

    General and Desktop
    1
    1
    48
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Glax last edited by

      If I create a QShortcut with the same key sequence as a QAction, when I press the key sequence I get a dialog saying:

      "The key sequence '(sequence)' is ambiguous. Use 'Configure Shortcuts'
      from the 'Settings' menu to solve the ambiguity.
      No action will be triggered."

      Is there a void to suppress that? I want to handle this thing on my side using QShortcut::activatedAmbiguously and not have the message appear.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post