Allow resizing the main window smaller than the status bar label. Fixes #1260

master
Marius Kintel 2015-03-14 19:23:31 -04:00
parent 363b27a614
commit 2ab649c226
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ MainWindow::MainWindow(const QString &filename)
connect(this, SIGNAL(unhighlightLastError()), editor, SLOT(unhighlightLastError()));
this->qglview->statusLabel = new QLabel(this);
this->qglview->statusLabel->setMinimumWidth(100);
statusBar()->addWidget(this->qglview->statusLabel);
animate_timer = new QTimer(this);