mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 01:04:06 +02:00
Enable GitHub fields correctly on MAC
This commit is contained in:
parent
91fb592d3f
commit
dd7ce2cfff
1 changed files with 6 additions and 1 deletions
|
@ -97,7 +97,12 @@ void AutoTester::startTestsEvaluation(const bool isRunningFromCommandLine,
|
|||
}
|
||||
|
||||
void AutoTester::on_tabWidget_currentChanged(int index) {
|
||||
// Enable the GitHub edit boxes as required
|
||||
#ifdef Q_OS_WIN
|
||||
if (index == 0 || index == 2 || index == 3) {
|
||||
#elif defined Q_OS_MAC
|
||||
if (index == 0 || index == 1 || index == 2) {
|
||||
#endif
|
||||
_ui.userLineEdit->setDisabled(false);
|
||||
_ui.branchLineEdit->setDisabled(false);
|
||||
} else {
|
||||
|
@ -307,4 +312,4 @@ void AutoTester::updateStatusLabel(const QString& status) {
|
|||
|
||||
void AutoTester::appendLogWindow(const QString& message) {
|
||||
_ui.plainTextEdit->appendPlainText(message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue