1038678a2f
- Move out all shortcuts from their central file to the component they actually belong to - Get rid of DebugConsoleLoader and the multiple consoles handling mess, have only one global console
24 lines
552 B
QML
24 lines
552 B
QML
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
import QtQuick 2.12
|
|
import "../Base"
|
|
|
|
HQtObject {
|
|
property Item container: parent
|
|
|
|
|
|
HShortcut {
|
|
sequences: window.settings.keys.previousTab
|
|
onActivated: container.setCurrentIndex(
|
|
utils.numberWrapAt(container.currentIndex - 1, container.count),
|
|
)
|
|
}
|
|
|
|
HShortcut {
|
|
sequences: window.settings.keys.nextTab
|
|
onActivated: container.setCurrentIndex(
|
|
utils.numberWrapAt(container.currentIndex + 1, container.count),
|
|
)
|
|
}
|
|
}
|