mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Oops, fix remove and rename
This commit is contained in:
parent
98235eea03
commit
e572fbf487
@ -62,14 +62,14 @@ void PlaylistTabBar::Rename() {
|
||||
if (name.isNull())
|
||||
return;
|
||||
|
||||
emit Rename(menu_index_, name);
|
||||
emit Rename(tabData(menu_index_).toInt(), name);
|
||||
}
|
||||
|
||||
void PlaylistTabBar::Remove() {
|
||||
if (menu_index_ == -1)
|
||||
return;
|
||||
|
||||
emit Remove(menu_index_);
|
||||
emit Remove(tabData(menu_index_).toInt());
|
||||
}
|
||||
|
||||
int PlaylistTabBar::current_id() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user