Skip to content

Commit

Permalink
fix QKeySequence use in DBManager in Qt6 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and nyalldawson committed Jan 28, 2025
1 parent 6c422d6 commit d2d1552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/sqledit.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def initShortcuts(self):

# Use Ctrl+Space for autocompletion
self.shortcutAutocomplete = QShortcut(
QKeySequence(Qt.Modifier.CTRL + Qt.Key.Key_Space), self
QKeySequence(Qt.Modifier.CTRL | Qt.Key.Key_Space), self
)
self.shortcutAutocomplete.setContext(Qt.ShortcutContext.WidgetShortcut)
self.shortcutAutocomplete.activated.connect(self.autoComplete)
Expand Down

0 comments on commit d2d1552

Please sign in to comment.