--- a/QTfrontend/ui/widget/keybinder.cpp Thu Oct 12 19:04:30 2017 +0200
+++ b/QTfrontend/ui/widget/keybinder.cpp Thu Oct 12 20:17:00 2017 +0200
@@ -242,13 +242,12 @@
{
QComboBox * box = bindCellComboBoxMappings->value(item);
QTableWidget * table = item->tableWidget();
- QFrame * frame = box->findChild<QFrame*>();
+ box->move(
+ table->horizontalHeader()->sectionSize(0),
+ (table->verticalHeader()->defaultSectionSize() * (item->row() + 1)) - (box->height()) + 1
+ );
box->showPopup();
- frame->move(
- frame->x() + table->horizontalHeader()->sectionSize(0),
- frame->y() + (table->verticalHeader()->defaultSectionSize() * item->row())
- );
}
// When a new row in a bind table is *selected*, this clears selection in any other table