mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-07-19 01:15:14 -05:00
fix auto fill not wokring for modified entries on time tab
This commit is contained in:
parent
ab3e93ab84
commit
255d10e603
|
|
@ -71,6 +71,7 @@ void SceneSwitcher::on_timeAdd_clicked()
|
|||
} else {
|
||||
QListWidgetItem *item = ui->timeSwitches->item(idx);
|
||||
item->setText(text);
|
||||
item->setData(Qt::UserRole, v);
|
||||
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(switcher->m);
|
||||
|
|
@ -83,7 +84,6 @@ void SceneSwitcher::on_timeAdd_clicked()
|
|||
QString(PREVIOUS_SCENE_NAME));
|
||||
s.timeSwitchStr =
|
||||
text.toUtf8().constData();
|
||||
;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user