mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Enable the CC SetPoint on the planner, also input bug fix.
Enabled the CC SetPoint settings on the table, changing it will automatically reflect the canvas. Also fixed a bug that prevented the 'Air' handling on the diveplanner table to show the list of options using arrow up and down. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
c029cb0a07
commit
64864fea9c
2 changed files with 8 additions and 3 deletions
|
@ -108,7 +108,7 @@ void ComboBoxDelegate::testActivation(const QString& s)
|
|||
bool ComboBoxDelegate::eventFilter(QObject* object, QEvent* event)
|
||||
{
|
||||
// Reacts on Key_UP and Key_DOWN to show the QComboBox - list of choices.
|
||||
if (event->type() == QEvent::KeyPress){
|
||||
if (event->type() == QEvent::KeyPress || event->type() == QEvent::ShortcutOverride){
|
||||
if (object == currCombo.comboEditor){ // the 'LineEdit' part
|
||||
QKeyEvent *ev = static_cast<QKeyEvent*>(event);
|
||||
if(ev->key() == Qt::Key_Up || ev->key() == Qt::Key_Down){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue