mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Actually change the shortcut for Copy with Headers to Ctrl+Shift+C
The change in commit 82665e3f09 only
affected the label in the context menu.
This commit is contained in:
@@ -457,8 +457,8 @@ void ExtendedTableWidget::keyPressEvent(QKeyEvent* event)
|
||||
} else if(event->matches(QKeySequence::Paste)) {
|
||||
// Call a custom paste method when Ctrl-V is pressed
|
||||
paste();
|
||||
} else if(event->modifiers().testFlag(Qt::ControlModifier) && (event->key() == Qt::Key_H)) {
|
||||
// Call copy with headers when Ctrl-H is pressed
|
||||
} else if(event->modifiers().testFlag(Qt::ControlModifier) && event->modifiers().testFlag(Qt::ShiftModifier) && (event->key() == Qt::Key_C)) {
|
||||
// Call copy with headers when Ctrl-Shift-C is pressed
|
||||
copy(true);
|
||||
} else if(event->key() == Qt::Key_Tab && hasFocus() &&
|
||||
selectedIndexes().count() == 1 &&
|
||||
|
||||
Reference in New Issue
Block a user