Add a title to the properties window
This commit is contained in:
parent
76ff395aed
commit
9dc8ff84cf
@ -73,6 +73,7 @@ Basic.SourceSelect.CreateNew="Create new"
|
||||
Basic.SourceSelect.AddExisting="Add Existing"
|
||||
|
||||
# properties window
|
||||
Basic.PropertiesWindow="Properties for '%1'"
|
||||
Basic.PropertiesWindow.AutoSelectFormat="%1 (unsupported; autoselect: %2)"
|
||||
|
||||
# status bar
|
||||
|
@ -57,6 +57,9 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
|
||||
killTimer(resizeTimer);
|
||||
resizeTimer = startTimer(100);
|
||||
});
|
||||
|
||||
const char *name = obs_source_getname(source);
|
||||
setWindowTitle(QTStr("Basic.PropertiesWindow").arg(QT_UTF8(name)));
|
||||
}
|
||||
|
||||
void OBSBasicProperties::SourceRemoved(void *data, calldata_t params)
|
||||
|
Loading…
x
Reference in New Issue
Block a user