--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-01-13 12:56:31 +02:00
commit 6ef39e27e4
2 changed files with 6 additions and 1 deletions

View File

@ -169,6 +169,7 @@ void DialogHistory::FillTable()
QTableWidgetItem *item = new QTableWidgetItem(QString()); QTableWidgetItem *item = new QTableWidgetItem(QString());
item->setTextAlignment(Qt::AlignHCenter); item->setTextAlignment(Qt::AlignHCenter);
item->setData(Qt::UserRole, tool.getId()); item->setData(Qt::UserRole, tool.getId());
item->setFlags(item->flags() ^ Qt::ItemIsEditable);
ui->tableWidget->setItem(currentRow, 0, item); ui->tableWidget->setItem(currentRow, 0, item);
} }

View File

@ -17,7 +17,11 @@ QT += core gui widgets xml svg printsupport xmlpatterns
TEMPLATE = app TEMPLATE = app
# Name of binary file # Name of binary file
macx{
TARGET = Valentina
} else {
TARGET = valentina TARGET = valentina
}
# Use out-of-source builds (shadow builds) # Use out-of-source builds (shadow builds)
CONFIG -= debug_and_release debug_and_release_target CONFIG -= debug_and_release debug_and_release_target