Refactor NameDialog

This commit is contained in:
WarmUpTill
2024-04-19 23:59:40 +02:00
committed by WarmUpTill
parent e080d2de9b
commit 2bc89364b2
7 changed files with 44 additions and 43 deletions

View File

@@ -177,7 +177,7 @@ void ItemSelection::RenameItem()
Item *item = variant.value<Item *>();
std::string name;
bool accepted = AdvSSNameDialog::AskForName(
bool accepted = NameDialog::AskForName(
this, obs_module_text("AdvSceneSwitcher.windowTitle"),
obs_module_text("AdvSceneSwitcher.item.newName"), name,
QString::fromStdString(item->Name()));