Permalink
Browse files

Make assembly record type field in inspection dialogue narrower

  • Loading branch information...
1 parent 3ea3aba commit 0152ac5ea8aefb016218648ef8dd4091db38c70d @matus-tomlein matus-tomlein committed Jan 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/global.cpp
View
@@ -833,7 +833,7 @@ MTDictionary Global::listAssemblyRecordTypes()
query.setForwardOnly(true);
if (query.exec("SELECT id, name FROM assembly_record_types")) {
while (query.next()) {
- QString name = QString("%1 - %2").arg(query.value(0).toString()).arg(query.value(1).toString().left(50));
+ QString name = QString("%1 - %2").arg(query.value(0).toString()).arg(query.value(1).toString().left(40));
dict.insert(query.value(1).toString().isEmpty() ? query.value(0).toString() : name, query.value(0).toString());
}
}

0 comments on commit 0152ac5

Please sign in to comment.