--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());
item->setTextAlignment(Qt::AlignHCenter);
item->setData(Qt::UserRole, tool.getId());
item->setFlags(item->flags() ^ Qt::ItemIsEditable);
ui->tableWidget->setItem(currentRow, 0, item);
}

View file

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