Compare commits

..

No commits in common. "0b369e1c8e959baeb7146dc323643a77a7c9b112" and "fe9c69b88a02b4524296b0208ca39bf5d15cd5dd" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View file

@ -207,7 +207,7 @@ bool MainWindow::eventFilter(QObject* target, QEvent* event)
if (event->type() == QEvent::KeyPress) {
QKeyEvent* keyEvent = static_cast<QKeyEvent*>(event);
if (keyEvent->key() == Qt::Key::Key_Enter || keyEvent->key() == Qt::Key::Key_Return) {
if (keyEvent->modifiers() & Qt::ControlModifier) {
if (keyEvent->modifiers() == Qt::ControlModifier) {
checkSellerNo(true);
} else {
checkSellerNo(false);
@ -220,7 +220,7 @@ bool MainWindow::eventFilter(QObject* target, QEvent* event)
if (event->type() == QEvent::KeyPress) {
QKeyEvent* keyEvent = static_cast<QKeyEvent*>(event);
if (keyEvent->key() == Qt::Key::Key_Enter || keyEvent->key() == Qt::Key::Key_Return) {
if (keyEvent->modifiers() & Qt::ControlModifier) {
if (keyEvent->modifiers() == Qt::ControlModifier) {
onPaidButtonTriggered();
return true;
}

View file

@ -112,11 +112,7 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="givenSpinBox">
<property name="maximum">
<double>999.990000000000009</double>
</property>
</widget>
<widget class="QDoubleSpinBox" name="givenSpinBox"/>
</item>
<item>
<widget class="QLabel" name="label_4">