mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
frontend: Fix empty volume name label
This commit is contained in:
@@ -198,6 +198,7 @@ void VolumeName::updateLabelText(const QString &name)
|
||||
int textWidth = metrics.horizontalAdvance(plainText);
|
||||
|
||||
if (availableWidth > textWidth) {
|
||||
label->setText(name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user