summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/maingui/printergui.cpp1
-rw-r--r--src/maingui/printergui.ui6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/maingui/printergui.cpp b/src/maingui/printergui.cpp
index 8bc9133..3c6b224 100644
--- a/src/maingui/printergui.cpp
+++ b/src/maingui/printergui.cpp
@@ -327,6 +327,7 @@ void PrinterGui::on_printerList_currentItemChanged(QTreeWidgetItem *current, QTr
statusBar->showMessage("Dieser Drucker nimmt zur Zeit keine Aufträge an");
} else {
ui->buttonPrint->setEnabled(true);
+ ui->buttonPrint->setDefault(true);
statusBar->clearMessage();
}
}
diff --git a/src/maingui/printergui.ui b/src/maingui/printergui.ui
index 047c5ac..3af65a6 100644
--- a/src/maingui/printergui.ui
+++ b/src/maingui/printergui.ui
@@ -230,6 +230,9 @@
<property name="text">
<string>Abbrechen</string>
</property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
</widget>
</item>
<item>
@@ -246,6 +249,9 @@
<property name="text">
<string>Drucken</string>
</property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>