mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
edit profile item when it's added
This commit is contained in:
parent
bc8fafe5f9
commit
684c0906e8
@ -44,6 +44,7 @@ Settings::Settings(QWidget *parent) : QWidget(parent) {
|
||||
auto item = new QListWidgetItem{"Unnamed"};
|
||||
item->setFlags(item->flags() | Qt::ItemIsEditable);
|
||||
m_profileView->addItem(item);
|
||||
m_profileView->editItem(item);
|
||||
});
|
||||
|
||||
connect(removeButton, &QPushButton::released,
|
||||
|
Loading…
Reference in New Issue
Block a user