viewertexteditor: restored toolbar positioning and introduced clamping

This commit is contained in:
itsmattkc
2022-08-25 10:18:42 -07:00
parent b1b845826c
commit 97e980c93f
2 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ void ViewerTextEditor::DocumentChanged()
ViewerTextEditorToolBar::ViewerTextEditorToolBar(QWidget *parent) :
QWidget(parent),
painted_(false),
drag_enabled_(false)
drag_enabled_(true)
{
QVBoxLayout *outer_layout = new QVBoxLayout(this);