Turn off undo/redo stack for QTextDocument in playwidget details
This commit is contained in:
parent
21c5a97d15
commit
6e40f639b7
|
@ -115,6 +115,7 @@ PlayingWidget::PlayingWidget(QWidget *parent)
|
|||
connect(timeline_fade_, SIGNAL(valueChanged(qreal)), SLOT(FadePreviousTrack(qreal)));
|
||||
timeline_fade_->setDirection(QTimeLine::Backward); // 1.0 -> 0.0
|
||||
|
||||
details_->setUndoRedoEnabled(false);
|
||||
// add placeholder text to get the correct height
|
||||
if (mode_ == LargeSongDetails) {
|
||||
details_->setDefaultStyleSheet("p { font-size: small; font-weight: bold; }");
|
||||
|
|
Loading…
Reference in New Issue