forked from qt-creator/qt-creator
Debugeger: A bit of polishing for the register window.
Pad all registers up to width of largest value. Pass on unpadded values to the editor.
This commit is contained in:
@@ -77,7 +77,7 @@ public:
|
||||
{
|
||||
QLineEdit *lineEdit = qobject_cast<QLineEdit *>(editor);
|
||||
QTC_ASSERT(lineEdit, return);
|
||||
lineEdit->setText(index.data(Qt::DisplayRole).toString());
|
||||
lineEdit->setText(index.data(Qt::EditRole).toString());
|
||||
}
|
||||
|
||||
void setModelData(QWidget *editor, QAbstractItemModel *model,
|
||||
|
||||
Reference in New Issue
Block a user