mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
Add tooltip to show entire filename.
This commit is contained in:
@@ -181,6 +181,7 @@ void SeerEditorWidgetSource::showReloadBar (bool flag) {
|
||||
|
||||
reloadFilenameLabel->setText("The file \"" + Seer::elideText(sourceArea()->file(),Qt::ElideLeft,elideLength) + "\" has changed on disk. RELOADING...");
|
||||
reloadFilenameLabel->setToolTip(sourceArea()->file());
|
||||
|
||||
reloadToolButton->setFocus(Qt::MouseFocusReason); // Give the reload button the focus.
|
||||
|
||||
// Schedule the reload.
|
||||
@@ -190,6 +191,7 @@ void SeerEditorWidgetSource::showReloadBar (bool flag) {
|
||||
|
||||
reloadFilenameLabel->setText("The file \"" + Seer::elideText(sourceArea()->file(),Qt::ElideLeft,elideLength) + "\" has changed on disk.");
|
||||
reloadFilenameLabel->setToolTip(sourceArea()->file());
|
||||
|
||||
reloadToolButton->setFocus(Qt::MouseFocusReason); // Give the reload button the focus.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user